Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
825bd97
)
Fix window focus cycling on single-head fullscreen layout.
author
Reginald Kennedy
<rk@rejii.com>
Mon, 29 Oct 2012 14:53:40 +0000
(22:53 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Mon, 29 Oct 2012 14:54:55 +0000
(22:54 +0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
2bad31b
..
4b3eb86
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-4495,14
+4495,9
@@
max_stack(struct workspace *ws, struct swm_geometry *g)
update_window(w);
}
update_window(w);
}
-
- /* Unmap unwanted windows if not multi-screen. */
- if (num_screens <= 1 && outputs <= 1 && w != win &&
- w != parent && w->transient != win->id)
- unmap_window(w);
}
}
- /* If a parent exists, map it first. */
+ /* If a parent exists, map/raise it first. */
if (parent) {
map_window(parent);
if (parent) {
map_window(parent);
@@
-4515,10
+4510,10
@@
max_stack(struct workspace *ws, struct swm_geometry *g)
}
}
}
}
- /* Map focused window. */
+ /* Map/raise focused window. */
map_window(win);
map_window(win);
- /* Finally, map children of focus window. */
+ /* Finally, map/raise children of focus window. */
TAILQ_FOREACH(w, &ws->winlist, entry)
if (w->transient == win->id && !w->iconic) {
stack_floater(w, ws->r);
TAILQ_FOREACH(w, &ws->winlist, entry)
if (w->transient == win->id && !w->iconic) {
stack_floater(w, ws->r);