Properly report errors in 'focus parent' (Thanks eeemsi)

Also, make X11 errors debug log level only. They are harmless usually.

fixes #762
This commit is contained in:
Michael Stapelberg
2012-08-05 20:56:33 +02:00
parent afc16953b9
commit 1b2d222449
3 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ static void xcb_check_cb(EV_P_ ev_check *w, int revents) {
DLOG("Expected X11 Error received for sequence %x\n", event->sequence);
else {
xcb_generic_error_t *error = (xcb_generic_error_t*)event;
ELOG("X11 Error received! sequence 0x%x, error_code = %d\n",
DLOG("X11 Error received (probably harmless)! sequence 0x%x, error_code = %d\n",
error->sequence, error->error_code);
}
free(event);