Bugfix: Also abort drag_pointer after XCB_KEY_PRESS / XCB_KEY_RELEASE (Thanks eeemsi)

This commit is contained in:
Michael Stapelberg 2011-07-28 21:01:34 +02:00
parent 700f5bd443
commit ed30043950
1 changed files with 2 additions and 0 deletions

View 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;