[Xfce4-commits] [xfce/xfwm4] 01/03: display: Log serial and minor code
noreply at xfce.org
noreply at xfce.org
Sun May 5 15:42:26 CEST 2019
This is an automated email from the git hooks/post-receive script.
o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfwm4.
commit a93658d5e93479de4a1a3edd00ba2000b0ce91b3
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Sun May 5 14:36:25 2019 +0200
display: Log serial and minor code
Helpful for debugging purpose.
Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
src/display.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/display.c b/src/display.c
index b885307..3ba7230 100644
--- a/src/display.c
+++ b/src/display.c
@@ -67,8 +67,8 @@ handleXError (Display * dpy, XErrorEvent * err)
XGetErrorText (dpy, err->error_code, buf, 63);
fprintf (stderr, "XError: %s\n", buf);
- fprintf (stderr, "==> XID 0x%lx, Request %d, Error %d <==\n",
- err->resourceid, err->request_code, err->error_code);
+ fprintf (stderr, "==> XID 0x%lx, request code %d, serial %d, error code %d, minor code %d <==\n",
+ err->resourceid, err->request_code, err->serial, err->error_code, err->minor_code);
#endif
return 0;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list