diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2012-11-03 05:51:40 +0800 |
---|---|---|
committer | Richard Grenville <pyxlcy@gmail.com> | 2012-11-03 05:51:40 +0800 |
commit | b7aee48ccae37dfdf5bb7025fac6f394a9abb335 (patch) | |
tree | fc98df4517315a82fd53aa325f7543ab9a70db0a /compton.h | |
parent | d3e75057a28fd56ea911d90bb9e332db7c91d864 (diff) | |
download | tdebase-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |