summaryrefslogtreecommitdiffstats
path: root/compton.h
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2012-11-14 21:34:51 +0800
committerRichard Grenville <pyxlcy@gmail.com>2012-11-14 21:34:51 +0800
commite6f244196fea9a5d0f936a5cac4eefb060f46013 (patch)
treee183d223f80b145102c4aac7c6870d4fc2aed0e9 /compton.h
parent473cb1f4ed86ec7337f40eea4bdd55298524d9e2 (diff)
downloadtdebase-e6f244196fea9a5d0f936a5cac4eefb060f46013.tar.gz
tdebase-e6f244196fea9a5d0f936a5cac4eefb060f46013.zip
Misc: Code cleanup
- Form a function ev_window_name() for all window name detection in debugging code. - Add unredir-if-possible to configuration file options.
Diffstat (limited to 'compton.h')
-rw-r--r--compton.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compton.h b/compton.h
index 5d3ad2611..2b3e08604 100644
--- a/compton.h
+++ b/compton.h
@@ -1289,6 +1289,11 @@ add_damage_win(Display *dpy, win *w) {
}
}
+#if defined(DEBUG_EVENTS) || defined(DEBUG_RESTACK)
+static bool
+ev_window_name(Display *dpy, Window wid, char **name);
+#endif
+
inline static void
ev_handle(XEvent *ev);