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
(from parent 1:
4c59fde
)
Unmap after map in switchws.
author
Reginald Kennedy
<rk@rejii.com>
Mon, 20 Aug 2012 13:17:45 +0000
(21:17 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Mon, 20 Aug 2012 18:37:34 +0000
(
02:37
+0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
06b73c0
..
75c7a6c
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-2862,8
+2862,15
@@
switchws(struct swm_region *r, union arg *args)
this_r->ws = new_ws;
new_ws->r = this_r;
+ unmap_window(old_ws->focus);
+
stack();
+ /* unmap old windows */
+ if (unmap_old)
+ TAILQ_FOREACH(win, &old_ws->winlist, entry)
+ unmap_window(win);
+
new_ws->focus = get_region_focus(new_ws->r);
/* unmap old windows */