diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-03-03 11:37:02 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-03-03 11:46:04 +0100 |
commit | f8428d1063c6420ee43424269149a65f8c33812f (patch) | |
tree | 7e8bae9255abd5629b02b0b077237e1f4d0873e0 /xwayland/meson.build | |
parent | 2a9ba5c8dc21bfd167fc13c46b4d853cb0c70bce (diff) |
xcb errors: optional dependency with improved messages
Now message can look like:
[xwayland/xwm.c:991] xcb error: op ChangeProperty (no minor), code Window (no extension), value 6291465
instead of this one when the lib is not available:
[xwayland/xwm.c:999] xcb error: op 18:0, code 3, sequence 103, value 6291465
The value in case of Window is the window id, so we can tell what
function applied on which window which is a good start.
The sequence ought to be able to tell us more precisely which
invocation it was, but we never log it when calling functions
so is useless in practice and no longer logged.
Diffstat (limited to 'xwayland/meson.build')
-rw-r--r-- | xwayland/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xwayland/meson.build b/xwayland/meson.build index 2ccdf4cb..9d7f3f4a 100644 --- a/xwayland/meson.build +++ b/xwayland/meson.build @@ -15,6 +15,7 @@ lib_wlr_xwayland = static_library( xcb_image, xcb_render, xcb_icccm, + xcb_errors, xkbcommon, pixman, ], |