diff options
author | sabetts <sabetts> | 2001-08-29 19:55:10 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-08-29 19:55:10 +0000 |
commit | 82038e02ab782ce856d8f66cc0f20a6c8d8fec71 (patch) | |
tree | 215040f4188799d8b1cf73d6d1164b232b4dd985 /src | |
parent | e10959968f2b03cfc1865ed319336882c1df1c29 (diff) | |
download | ratpoison-82038e02ab782ce856d8f66cc0f20a6c8d8fec71.zip |
unhide bug
Diffstat (limited to 'src')
-rw-r--r-- | src/manage.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/manage.c b/src/manage.c index e60c422..b0f6ee3 100644 --- a/src/manage.c +++ b/src/manage.c @@ -541,13 +541,17 @@ void unhide_window (rp_window *win) { if (win == NULL) return; + + /* Always raise the window. */ + XRaiseWindow (dpy, win->w); + if (win->state != IconicState) return; - XMapRaised (dpy, win->w); + XMapWindow (dpy, win->w); set_state (win, NormalState); } -/* same as unhide_window except that it make sure the window is mapped +/* same as unhide_window except that it makes sure the window is mapped on the bottom of the window stack. */ void unhide_window_below (rp_window *win) |