]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Also abort drag_pointer after XCB_KEY_PRESS / XCB_KEY_RELEASE (Thanks eeemsi)
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 28 Jul 2011 19:01:34 +0000 (21:01 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 28 Jul 2011 19:01:34 +0000 (21:01 +0200)
src/floating.c

index 0cbe4871b0b833ce8cc2172b2f4ea66634d42f3d..f9ac6e826b6f2697d98d7da88c4ff7fbbe9b87af 100644 (file)
@@ -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;