summaryrefslogtreecommitdiff
path: root/sys/man/4
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-11-25 04:30:44 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-11-25 04:30:44 +0100
commit9ef4ba83f62761b517db23a16e2f61e5861aae23 (patch)
tree1d410acc61ee75b0973051403a75e4748e1b2311 /sys/man/4
parente82b10ffb480c85a80af21d016f3f8a30db08156 (diff)
rio: fix handling "resize" wctl for hidden windows
when the "resize" wctl was used on a hidden window, the window was put back on the screen, however, it was not removed from the hidden[] array so trying to hide the window again failed because whide() assumed it was already hidden. the fix is to not unhide the window, but preserve the hidden state, so windows can programmatically be reshaped and moved, but will remain hidden unless explicitely unhidden.
Diffstat (limited to 'sys/man/4')
-rw-r--r--sys/man/4/rio5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/man/4/rio b/sys/man/4/rio
index b0997bbef..caacd9552 100644
--- a/sys/man/4/rio
+++ b/sys/man/4/rio
@@ -258,14 +258,13 @@ The
.B top
and
.B bottom
-commands do not change whether the window is current or not;
-the others always make the affected window current.
-.IP
+commands do not change whether the window is current or not.
Neither
.B top
nor
.B bottom
has any options.
+.IP
The
.BR resize ,
.BR move ,