projects
/
platform
/
upstream
/
xf86-video-intel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92e9bf8
)
intel-virtual-output: Print error events for debugging
author
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 20 Jan 2014 12:33:19 +0000
(12:33 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 20 Jan 2014 12:33:47 +0000
(12:33 +0000)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tools/virtual.c
patch
|
blob
|
history
diff --git
a/tools/virtual.c
b/tools/virtual.c
index
73475e9
..
050bf1f
100644
(file)
--- 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 */
}