mirror of
https://github.com/vale981/spectrwm
synced 2025-03-04 17:31:40 -05:00
Fix buttonpress sometimes not releasing the pointer event queue.
This commit is contained in:
parent
b4ff36a693
commit
4055b75e4a
1 changed files with 2 additions and 1 deletions
|
@ -3073,6 +3073,7 @@ unfocus_win(struct ws_win *win)
|
|||
kill_refs(win->ws->focus);
|
||||
win->ws->focus = NULL;
|
||||
}
|
||||
|
||||
if (validate_win(win->ws->focus_prev)) {
|
||||
kill_refs(win->ws->focus_prev);
|
||||
win->ws->focus_prev = NULL;
|
||||
|
@ -7483,7 +7484,7 @@ buttonpress(xcb_button_press_event_t *e)
|
|||
}
|
||||
|
||||
if (win == NULL)
|
||||
return;
|
||||
goto out;
|
||||
|
||||
last_event_time = e->time;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue