diff options
author | Christopher Jeffrey <chjjeffrey@gmail.com> | 2012-09-13 10:24:37 -0500 |
---|---|---|
committer | Christopher Jeffrey <chjjeffrey@gmail.com> | 2012-09-13 10:24:37 -0500 |
commit | 6278604753e1f9a08a75119f9b661178dd450bd0 (patch) | |
tree | c030e93bb9a5472b152783eac56830046c2bccf5 /compton.h | |
parent | 212582469a1f7ac8a6fd81bc8619ca401e247b77 (diff) | |
download | tdebase-6278604753e1f9a08a75119f9b661178dd450bd0.tar.gz tdebase-6278604753e1f9a08a75119f9b661178dd450bd0.zip |
fix determine_evmask warnings
Diffstat (limited to 'compton.h')
-rw-r--r-- | compton.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -143,6 +143,12 @@ typedef struct _fade { Display *dpy; } fade; +typedef enum { + WIN_EVMODE_UNKNOWN, + WIN_EVMODE_FRAME, + WIN_EVMODE_CLIENT +} win_evmode_t; + extern int root_height, root_width; extern Atom atom_client_attr; @@ -356,6 +362,9 @@ set_ignore(Display *dpy, unsigned long sequence); static int should_ignore(Display *dpy, unsigned long sequence); +static long +determine_evmask(Display *dpy, Window wid, win_evmode_t mode); + static win * find_win(Display *dpy, Window id); |