From 749dbb28b26faa84871dcd745ca4b4e6150c3955 Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Sat, 23 Mar 2013 07:46:09 +0800 Subject: [PATCH] Fix manual focus mode sometimes switching region with pointer motion. --- spectrwm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spectrwm.c b/spectrwm.c index 10a82be..a6ef35f 100644 --- 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) -- 1.7.10.4