diff options
author | Richard Grenville <[email protected]> | 2013-01-31 22:53:44 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2013-01-31 22:56:54 +0800 |
commit | d1fb8649a4e5d2ec165bd4226d53703043678eb2 (patch) | |
tree | 79baf4b2e997aca97a748fc6e468a6e50e7773c6 /dbus.h | |
parent | 646390149399214ca725b93328e04e71361caa02 (diff) | |
download | tdebase-d1fb8649a4e5d2ec165bd4226d53703043678eb2.tar.gz tdebase-d1fb8649a4e5d2ec165bd4226d53703043678eb2.zip |
Improvement: Change VSync mode with D-Bus & Makefile update & Misc
- Add on-the-fly VSync option modification via D-Bus, as requested by
kunitoki (#80). Expose parse_vsync(), create vsync_init() and
ensure_glx_context().
- Change default value of ps->drm_fd to -1.
- Update Makefile. Change the install/uninstall rules and add doc
installation, requested by hasufell in #85.
- Mark window not damaged in map_win(). It helps in reducing flickering
with inverted window color, but I'm not completely sure if it's safe.
- Avoid modifying w->invert_color when window is unmapped.
- Update documentation. Thanks to hasufell for pointing out.
Diffstat (limited to 'dbus.h')
-rw-r--r-- | dbus.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -21,13 +21,15 @@ #define CDBUS_ERROR_BADMSG_S "Unrecognized command. Beware compton " \ "cannot make you a sandwich." #define CDBUS_ERROR_BADARG CDBUS_ERROR_PREFIX ".bad_argument" -#define CDBUS_ERROR_BADARG_S "Something wrong in arguments?" +#define CDBUS_ERROR_BADARG_S "Failed to parse argument %d: %s" #define CDBUS_ERROR_BADWIN CDBUS_ERROR_PREFIX ".bad_window" #define CDBUS_ERROR_BADWIN_S "Requested window %#010lx not found." #define CDBUS_ERROR_BADTGT CDBUS_ERROR_PREFIX ".bad_target" #define CDBUS_ERROR_BADTGT_S "Target \"%s\" not found." #define CDBUS_ERROR_FORBIDDEN CDBUS_ERROR_PREFIX ".forbidden" #define CDBUS_ERROR_FORBIDDEN_S "Incorrect password, access denied." +#define CDBUS_ERROR_CUSTOM CDBUS_ERROR_PREFIX ".custom" +#define CDBUS_ERROR_CUSTOM_S "%s" // Window type typedef uint32_t cdbus_window_t; |