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:
ef7f0f5
)
Remove over-eager optimization in focus_magic().
author
Ryan McBride
<mcbride@countersiege.com>
Fri, 23 Oct 2009 06:24:18 +0000
(06:24 +0000)
committer
Ryan McBride
<mcbride@countersiege.com>
Fri, 23 Oct 2009 06:24:18 +0000
(06:24 +0000)
This win == win->ws->focus check makes scrotwm forget the correct
focus across workspace changes. Unnecessary focus changes are prevented
by the XGetInputFocus() check anyways.
scrotwm.c
patch
|
blob
|
history
diff --git
a/scrotwm.c
b/scrotwm.c
index
04dbd0f
..
9a1f698
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-3776,9
+3776,6
@@
focus_magic(struct ws_win *win, int do_trans)
if (win == NULL)
return;
- if (win == win->ws->focus)
- return;
-
if (do_trans == SWM_F_TRANSIENT && win->child_trans) {
/* win = parent & has a transient so focus on that */
if (win->java) {