summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-02-27 07:11:12 +0000
committersabetts <sabetts>2004-02-27 07:11:12 +0000
commita5c30aed8f3d73ac39e997a11068d12b82eab42e (patch)
treeeaecf8d58b2f22bd37a708aafa902ae15940ceb7 /src
parent8adc0f3af7f343991a3584cecb3183e1df855484 (diff)
downloadratpoison-a5c30aed8f3d73ac39e997a11068d12b82eab42e.zip
(hide_frame_indicator): unmap all 'current frame'
indicator windows. (show_frame_indicator): hide the 'current frame' indicator before showing it.
Diffstat (limited to 'src')
-rw-r--r--src/split.c5
1 files changed, 4 insertions, 1 deletions
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);
}