mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
Fix manual focus mode sometimes switching region with pointer motion.
This commit is contained in:
parent
0b083dbf59
commit
749dbb28b2
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue