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:
13f0f8c
)
One more of cur_focus fallout
author
Marco Peereboom
<marco@conformal.com>
Wed, 30 Sep 2009 18:08:58 +0000
(18:08 +0000)
committer
Marco Peereboom
<marco@conformal.com>
Wed, 30 Sep 2009 18:08:58 +0000
(18:08 +0000)
scrotwm.c
patch
|
blob
|
history
diff --git
a/scrotwm.c
b/scrotwm.c
index
adb386d
..
a6aa81f
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-1419,14
+1419,19
@@
void
cycle_layout(struct swm_region *r, union arg *args)
{
struct workspace *ws = r->ws;
+ struct ws_win *winfocus;
DNPRINTF(SWM_D_EVENT, "cycle_layout: workspace: %d\n", ws->idx);
+ winfocus = ws->focus;
+
ws->cur_layout++;
if (ws->cur_layout->l_stack == NULL)
ws->cur_layout = &layouts[0];
+
ignore_enter = 1;
stack();
+ focus_win(winfocus);
}
void