diff options
author | sabetts <sabetts> | 2004-02-27 07:11:12 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2004-02-27 07:11:12 +0000 |
commit | a5c30aed8f3d73ac39e997a11068d12b82eab42e (patch) | |
tree | eaecf8d58b2f22bd37a708aafa902ae15940ceb7 | |
parent | 8adc0f3af7f343991a3584cecb3183e1df855484 (diff) | |
download | ratpoison-a5c30aed8f3d73ac39e997a11068d12b82eab42e.zip |
(hide_frame_indicator): unmap all 'current frame'
indicator windows.
(show_frame_indicator): hide the 'current frame' indicator before
showing it.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/split.c | 5 |
2 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2004-02-26 Shawn Betts <sabetts@vcn.bc.ca> + + * src/split.c (hide_frame_indicator): unmap all 'current frame' + indicator windows. + (show_frame_indicator): hide the 'current frame' indicator before + showing it. + 2004-01-30 Shawn Betts <sabetts@vcn.bc.ca> * src/actions.c (cmd_tmpwm): add an XSync() call diff --git a/src/split.c b/src/split.c index dfda926..2dcd6ed 100644 --- a/src/split.c +++ b/src/split.c @@ -888,12 +888,15 @@ blank_frame (rp_frame *frame) void hide_frame_indicator () { - XUnmapWindow (dpy, current_screen()->frame_window); + int i; + for (i=0; i<num_screens; i++) + XUnmapWindow (dpy, screens[i].frame_window); } void show_frame_indicator () { + hide_frame_indicator (); show_frame_message (MESSAGE_FRAME_STRING); alarm (defaults.frame_indicator_timeout); } |