2008-06-16 08:44:12 +02:00
|
|
|
#ifndef _CONFIG_H_
|
|
|
|
#define _CONFIG_H_
|
|
|
|
|
2009-04-27 12:06:24 +02:00
|
|
|
#define AWESOME_LUA_LIB_PATH "@AWESOME_LUA_LIB_PATH@"
|
|
|
|
#define XDG_CONFIG_DIR "@XDG_CONFIG_DIR@"
|
2017-01-25 09:41:11 +01:00
|
|
|
#define AWESOME_THEMES_PATH "@AWESOME_THEMES_PATH@"
|
|
|
|
#define AWESOME_ICON_PATH "@AWESOME_ICON_PATH@"
|
2017-01-25 09:21:38 +01:00
|
|
|
#define AWESOME_DEFAULT_CONF "@AWESOME_SYSCONFDIR@/rc.lua"
|
2008-06-16 08:44:12 +02:00
|
|
|
|
2008-06-20 14:57:03 +02:00
|
|
|
#cmakedefine WITH_DBUS
|
Use xcb-errors library if it is available
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>
2019-02-17 15:09:21 +01:00
|
|
|
#cmakedefine WITH_XCB_ERRORS
|
2010-08-12 20:14:56 +02:00
|
|
|
#cmakedefine HAS_EXECINFO
|
2008-06-20 14:57:03 +02:00
|
|
|
|
2008-06-16 08:44:12 +02:00
|
|
|
#endif //_CONFIG_H_
|
2015-12-12 17:37:35 +01:00
|
|
|
|
|
|
|
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|