|
@@ -32,9 +32,11 @@ int slop::XEngineErrorHandler( Display* dpy, XErrorEvent* event ) {
|
32
|
32
|
char buffer[1024];
|
33
|
33
|
XGetErrorText( dpy, event->error_code, buffer, 1024 );
|
34
|
34
|
fprintf( stderr,
|
35
|
|
- "_X Error of failed request: %s\n_ Major opcode of failed request: % 3d\n_ Serial number of failed request:% 5li\n_ Current serial number in output stream:?????\n",
|
|
35
|
+ "_X Error of failed request: %s\n_ Error code of failed request: %3d\n_ Major opcode of failed request: %3d\n_ Minor opcode of failed request: %3d\n_ Serial number of failed request: %5li\n_ Current serial number in output stream:?????\n",
|
36
|
36
|
buffer,
|
|
37
|
+ event->error_code,
|
37
|
38
|
event->request_code,
|
|
39
|
+ event->minor_code,
|
38
|
40
|
event->serial );
|
39
|
41
|
exit(1);
|
40
|
42
|
}
|