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:
78cac56
)
Ignore EnterNotify when entering from an inferior window.
author
Reginald Kennedy
<rk@rejii.com>
Tue, 25 Feb 2014 05:26:53 +0000
(13:26 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Wed, 26 Feb 2014 04:48:26 +0000
(12:48 +0800)
Fixes #28
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
ea33255
..
6a8687f
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-9429,6
+9429,13
@@
enternotify(xcb_enter_notify_event_t *e)
return;
}
} else {
+ if (e->mode == XCB_NOTIFY_MODE_NORMAL &&
+ e->detail == XCB_NOTIFY_DETAIL_INFERIOR) {
+ DNPRINTF(SWM_D_EVENT, "enternotify: entering from "
+ "inferior; ignoring\n");
+ return;
+ }
+
focus_win(get_focus_magic(win));
}