summaryrefslogtreecommitdiff
path: root/src/manage.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-06-01 11:33:51 +0000
committersabetts <sabetts>2001-06-01 11:33:51 +0000
commit8161a84a50dde1a2af5707b25e2130ea2819470a (patch)
tree8eaa096f92d6800f2ebfa40d8f4194613603875f /src/manage.c
parent7329ec0e6d192dc8f4046e3776d5a3bc07cd3f12 (diff)
downloadratpoison-8161a84a50dde1a2af5707b25e2130ea2819470a.zip
transients appear overtop of other windows
Diffstat (limited to 'src/manage.c')
-rw-r--r--src/manage.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/manage.c b/src/manage.c
index 11fbfd9..e611b1f 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -515,6 +515,20 @@ unhide_window (rp_window *win)
set_state (win, NormalState);
}
+/* same as unhide_window except that it make sure the window is mapped
+ on the bottom of the window stack. */
+void
+unhide_below_window (rp_window *win)
+{
+ if (win == NULL) return;
+ if (win->state != IconicState) return;
+
+ XLowerWindow (dpy, win->w);
+ XMapWindow (dpy, win->w);
+ set_state (win, NormalState);
+}
+
+
void
withdraw_window (rp_window *win)
{