From ed300439509b76cc9e92071ca5a9bb5f9310a7c6 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 28 Jul 2011 21:01:34 +0200 Subject: [PATCH] Bugfix: Also abort drag_pointer after XCB_KEY_PRESS / XCB_KEY_RELEASE (Thanks eeemsi) --- src/floating.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/floating.c b/src/floating.c index 0cbe4871..f9ac6e82 100644 --- a/src/floating.c +++ b/src/floating.c @@ -445,6 +445,8 @@ void drag_pointer(Con *con, xcb_button_press_event_t *event, xcb_window_t break; case XCB_UNMAP_NOTIFY: + case XCB_KEY_PRESS: + case XCB_KEY_RELEASE: DLOG("Unmap-notify, aborting\n"); handle_event(type, inside_event); goto done; -- 2.39.5