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:
0b083db
)
Fix manual focus mode sometimes switching region with pointer motion.
author
Reginald Kennedy
<rk@rejii.com>
Fri, 22 Mar 2013 23:46:09 +0000
(07:46 +0800)
committer
Reginald Kennedy
<rk@rejii.com>
Fri, 22 Mar 2013 23:46:09 +0000
(07:46 +0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
10a82be
..
a6ef35f
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-8449,6
+8449,9
@@
motionnotify(xcb_motion_notify_event_t *e)
last_event_time = e->time;
+ if (focus_mode == SWM_FOCUS_MANUAL)
+ return;
+
num_screens = get_screen_count();
for (i = 0; i < num_screens; i++)
if (screens[i].root == e->root)