diff options
author | Richard Grenville <[email protected]> | 2013-11-09 21:38:31 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2013-11-09 21:38:31 +0800 |
commit | ed99f1b2c9fe5c2ff5efe0af204b381aa9fdcc3e (patch) | |
tree | 78ef82b2d05a65aa1cd9090423460028528b6aa8 /dbus.h | |
parent | 522923dbc7f99fe0ef4bd44c6e9f761addec9de2 (diff) | |
download | tdebase-ed99f1b2c9fe5c2ff5efe0af204b381aa9fdcc3e.tar.gz tdebase-ed99f1b2c9fe5c2ff5efe0af204b381aa9fdcc3e.zip |
Misc: --write-pid-path & small changes
- Add --write-pid-path to write process ID to a file, to help
determining compton's process ID when -b is used.
- Add a few extra targets to query through D-Bus opts_get (version, pid,
etc.) and through win_get, primarily for debugging.
- Add helper macros likely(), unlikely(), cmalloc(), ccalloc(),
crealloc().
- Change w->opacity_set to opacity_t. Determine display_repr in
session_init(), etc.
Diffstat (limited to 'dbus.h')
-rw-r--r-- | dbus.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -10,6 +10,8 @@ #include "common.h" #include <ctype.h> +#include <sys/types.h> +#include <unistd.h> #define CDBUS_SERVICE_NAME "com.github.chjj.compton" #define CDBUS_INTERFACE_NAME CDBUS_SERVICE_NAME |