From: Michael Stapelberg Date: Thu, 28 Jul 2011 19:01:34 +0000 (+0200) Subject: Bugfix: Also abort drag_pointer after XCB_KEY_PRESS / XCB_KEY_RELEASE (Thanks eeemsi) X-Git-Tag: 4.0~14^2~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ed300439509b76cc9e92071ca5a9bb5f9310a7c6;p=i3%2Fi3 Bugfix: Also abort drag_pointer after XCB_KEY_PRESS / XCB_KEY_RELEASE (Thanks eeemsi) --- 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;