diff --git a/event.c b/event.c index 2db7f751..7e7406e1 100644 --- a/event.c +++ b/event.c @@ -733,9 +733,11 @@ xerror(xcb_generic_error_t *e) && e->major_code == XCB_CONFIGURE_WINDOW)) return; - warn("X error: request=%s, error=%s", + warn("X error: request=%s (major %d, minor %d), error=%s (%d)", xcb_event_get_request_label(e->major_code), - xcb_event_get_error_label(e->error_code)); + e->major_code, e->minor_code, + xcb_event_get_error_label(e->error_code), + e->error_code); return; }