Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*sigh* fix corner case where windows were being mapped from a different
[spectrwm.git]
/
scrotwm.c
diff --git
a/scrotwm.c
b/scrotwm.c
index
f277ea4
..
6ff67a1
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-2179,8
+2179,8
@@
manage_window(Window id)
set_win_state(win, NormalState);
set_win_state(win, NormalState);
- /* floaters need this */
- if (win->floating)
+ /* floaters need to be mapped if they are in the current workspace */
+ if (win->floating && (ws->idx == r->ws->idx))
XMapRaised(display, win->id);
/* make new win focused */
XMapRaised(display, win->id);
/* make new win focused */