mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 16:58:01 +02:00
xwm: Don't try to read deleted properties
This commit is contained in:
parent
029539bf27
commit
e244cb03f7
1 changed files with 5 additions and 2 deletions
|
|
@ -646,8 +646,11 @@ weston_wm_handle_property_notify(struct weston_wm *wm, xcb_generic_event_t *even
|
|||
|
||||
fprintf(stderr, "XCB_PROPERTY_NOTIFY: window %d, ",
|
||||
property_notify->window);
|
||||
read_and_dump_property(wm, property_notify->window,
|
||||
property_notify->atom);
|
||||
if (property_notify->state == XCB_PROPERTY_DELETE)
|
||||
fprintf(stderr, "deleted\n");
|
||||
else
|
||||
read_and_dump_property(wm, property_notify->window,
|
||||
property_notify->atom);
|
||||
|
||||
if (property_notify->atom == wm->atom.net_wm_name ||
|
||||
property_notify->atom == XCB_ATOM_WM_NAME)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue