From: Reginald Kennedy Date: Fri, 22 Mar 2013 23:46:09 +0000 (+0800) Subject: Fix manual focus mode sometimes switching region with pointer motion. X-Git-Url: https://jasonwoof.com/gitweb/?p=spectrwm.git;a=commitdiff_plain;h=749dbb28b26faa84871dcd745ca4b4e6150c3955 Fix manual focus mode sometimes switching region with pointer motion. --- 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)