summaryrefslogtreecommitdiffstats
path: root/dbus.h
diff options
context:
space:
mode:
authorRichard Grenville <[email protected]>2013-11-09 21:38:31 +0800
committerRichard Grenville <[email protected]>2013-11-09 21:38:31 +0800
commited99f1b2c9fe5c2ff5efe0af204b381aa9fdcc3e (patch)
tree78ef82b2d05a65aa1cd9090423460028528b6aa8 /dbus.h
parent522923dbc7f99fe0ef4bd44c6e9f761addec9de2 (diff)
downloadtdebase-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus.h b/dbus.h
index 50770d63c..a806c2de9 100644
--- a/dbus.h
+++ b/dbus.h
@@ -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