Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix buttonpress sometimes not releasing the pointer event queue.
[spectrwm.git]
/
spectrwm.c
diff --git
a/spectrwm.c
b/spectrwm.c
index
665d020
..
c792278
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-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;