diff options
-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); } |