summaryrefslogtreecommitdiffstats
path: root/compton.h
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2012-11-03 05:51:40 +0800
committerRichard Grenville <pyxlcy@gmail.com>2012-11-03 05:51:40 +0800
commitb7aee48ccae37dfdf5bb7025fac6f394a9abb335 (patch)
treefc98df4517315a82fd53aa325f7543ab9a70db0a /compton.h
parentd3e75057a28fd56ea911d90bb9e332db7c91d864 (diff)
downloadtdebase-b7aee48ccae37dfdf5bb7025fac6f394a9abb335.tar.gz
tdebase-b7aee48ccae37dfdf5bb7025fac6f394a9abb335.zip
Misc: Code cleanup & debug code changes
- Merge @daBrado's focus event debugging code. Thanks! - Use macro to reduce code redundancy in various functions. - Move focus event validation from ev_focus_out() to a separate function. - Add logic in ev_handle() to increase the chance of successful window name detection if compton is not reading window names normally (i.e. if there's no --shadow-exclude), when DEBUG_EVENTS is on.
Diffstat (limited to 'compton.h')
-rw-r--r--compton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compton.h b/compton.h
index 9ec61fcbb..d78e64fe1 100644
--- a/compton.h
+++ b/compton.h
@@ -1009,7 +1009,7 @@ win_get_class(Display *dpy, win *w);
static int
ev_serial(XEvent *ev);
-static char *
+static const char *
ev_name(XEvent *ev);
static Window