From d917ec22a8e472e73118b057892276ba49d1f499 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Tue, 2 Oct 2018 21:24:34 +0100 Subject: [PATCH] Fix a typo in conversion to xcb damage --- src/compton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compton.c b/src/compton.c index 0cd8cf4..c6f9ebd 100644 --- a/src/compton.c +++ b/src/compton.c @@ -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);