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> |
||
---|---|---|
.. | ||
aliases | ||
common | ||
images | ||
00-authors.md | ||
01-readme.md | ||
02-contributing.md | ||
03-declarative-layout.md | ||
04-new-widgets.md | ||
05-awesomerc.md.lua | ||
06-appearance.md.lua | ||
07-my-first-awesome.md | ||
16-using-cairo.md | ||
17-porting-tips.md | ||
89-NEWS.md | ||
90-FAQ.md | ||
_parser.lua | ||
build_rules_index.lua | ||
config.ld | ||
ldoc.css | ||
ldoc.ltp | ||
load_ldoc.cmake | ||
sample_files.lua | ||
sample_theme.lua | ||
widget_lists.cmake |