Bugfix: Correctly handle unmap-notify events when resizing (Thanks Mirko)
This commit is contained in:
parent
2ff2a6a315
commit
e4813d009a
@ -342,8 +342,13 @@ void drag_pointer(xcb_connection_t *conn, Client *client, xcb_button_press_event
|
|||||||
/* motion_notify events are saved for later */
|
/* motion_notify events are saved for later */
|
||||||
FREE(last_motion_notify);
|
FREE(last_motion_notify);
|
||||||
last_motion_notify = inside_event;
|
last_motion_notify = inside_event;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case XCB_UNMAP_NOTIFY:
|
||||||
|
LOG("Unmap-notify, aborting\n");
|
||||||
|
xcb_event_handle(&evenths, inside_event);
|
||||||
|
goto done;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
LOG("Passing to original handler\n");
|
LOG("Passing to original handler\n");
|
||||||
/* Use original handler */
|
/* Use original handler */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user