diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2012-11-14 21:34:51 +0800 |
---|---|---|
committer | Richard Grenville <pyxlcy@gmail.com> | 2012-11-14 21:34:51 +0800 |
commit | e6f244196fea9a5d0f936a5cac4eefb060f46013 (patch) | |
tree | e183d223f80b145102c4aac7c6870d4fc2aed0e9 /compton.h | |
parent | 473cb1f4ed86ec7337f40eea4bdd55298524d9e2 (diff) | |
download | tdebase-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |