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:
1aca1ca
)
Revert previous commit, clearly I was on crack.
author
Ryan McBride
<mcbride@countersiege.com>
Wed, 28 Oct 2009 00:57:36 +0000
(
00:57
+0000)
committer
Ryan McBride
<mcbride@countersiege.com>
Wed, 28 Oct 2009 00:57:36 +0000
(
00:57
+0000)
scrotwm.c
patch
|
blob
|
history
diff --git
a/scrotwm.c
b/scrotwm.c
index
5d7a74b
..
6132292
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-3954,8
+3954,11
@@
enternotify(XEvent *e)
* feature
*/
* feature
*/
- /* Focus is set when the window being entered already has focus. */
- if (ev->focus) {
+ /*
+ * state is set when we are switching workspaces and focus is set when
+ * scrotwm launches via a restart
+ */
+ if (ev->state || ev->focus) {
DNPRINTF(SWM_D_EVENT, "ignoring enternotify: focus\n");
return;
}
DNPRINTF(SWM_D_EVENT, "ignoring enternotify: focus\n");
return;
}