diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-11-25 04:30:44 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-11-25 04:30:44 +0100 |
commit | 9ef4ba83f62761b517db23a16e2f61e5861aae23 (patch) | |
tree | 1d410acc61ee75b0973051403a75e4748e1b2311 /sys/man | |
parent | e82b10ffb480c85a80af21d016f3f8a30db08156 (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')
-rw-r--r-- | sys/man/4/rio | 5 |
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 , |