Fix a typo in conversion to xcb damage

This commit is contained in:
Yuxuan Shui 2018-10-02 21:24:34 +01:00
parent cb99618eb6
commit d917ec22a8
1 changed files with 1 additions and 1 deletions

View File

@ -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);