diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/virtual.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/virtual.c b/tools/virtual.c index 73475e96..050bf1fb 100644 --- a/tools/virtual.c +++ b/tools/virtual.c @@ -205,6 +205,12 @@ static int _check_error_handler(Display *display, XErrorEvent *event) { + DBG(("X11 error from display %s, serial=%ld, error=%d, req=%d.%d\n", + DisplayString(display), + event->serial, + event->error_code, + event->request_code, + event->minor_code)); _x_error_occurred = 1; return False; /* ignored */ } |