mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 02:58:02 +02:00
xwm: Don't dispatch for events coming from XSendEvent
GTK+ sends an unmap_notify to the root window when a toplevel GTK+ window gets unmapped. That may be a GTK+ bug, but we should just ignore events from XSendEvent.
This commit is contained in:
parent
194ea5423e
commit
8d1aa7d8ef
1 changed files with 1 additions and 1 deletions
|
|
@ -857,7 +857,7 @@ weston_wm_handle_event(int fd, uint32_t mask, void *data)
|
|||
continue;
|
||||
}
|
||||
|
||||
switch (event->response_type & ~0x80) {
|
||||
switch (event->response_type) {
|
||||
case XCB_BUTTON_PRESS:
|
||||
case XCB_BUTTON_RELEASE:
|
||||
weston_wm_handle_button(wm, event);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue