mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
a57c79687a
This library allows to get a human-readable string describing X11 requests, events, and errors. We now use this library to pretty-print X11 errors if we get any. To test this code, I added the following two lines to AwesomeWM so that X11 errors are generated: xcb_set_input_focus(globalconf.connection, 42, 42, 42); xcb_randr_set_output_primary(globalconf.connection, globalconf.screen->root, 42); Output without xcb-errors: X error: request=SetInputFocus (major 42, minor 0), error=BadValue (2) X error: request=(null) (major 140, minor 30), error=(null) (147) Output with xcb-errors: X error: request=SetInputFocus (major 42, minor 0), error=Value (2) X error: request=RandR-SetOutputPrimary (major 140, minor 30), error=RandR-BadOutput (147) Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
array.h | ||
atoms.c | ||
atoms.h | ||
atoms.list | ||
backtrace.c | ||
backtrace.h | ||
buffer.c | ||
buffer.h | ||
luaclass.c | ||
luaclass.h | ||
lualib.c | ||
lualib.h | ||
luaobject.c | ||
luaobject.h | ||
signal.h | ||
util.c | ||
util.h | ||
version.c | ||
version.h | ||
xcursor.c | ||
xcursor.h | ||
xembed.c | ||
xembed.h | ||
xutil.c | ||
xutil.h |