Fix a typo in conversion to xcb damage
This commit is contained in:
parent
cb99618eb6
commit
d917ec22a8
|
@ -3064,7 +3064,7 @@ ev_handle(session_t *ps, xcb_generic_event_t *ev) {
|
|||
}
|
||||
|
||||
#ifdef DEBUG_EVENTS
|
||||
if (ev->response_type == ps->damage_event + XCB_DAMAGE_NOTIFY) {
|
||||
if (ev->response_type != ps->damage_event + XCB_DAMAGE_NOTIFY) {
|
||||
Window wid = ev_window(ps, ev);
|
||||
char *window_name = NULL;
|
||||
ev_window_name(ps, wid, &window_name);
|
||||
|
|
Loading…
Reference in New Issue