summaryrefslogtreecommitdiffstats
path: root/compton.c
diff options
context:
space:
mode:
authorChristopher Jeffrey <[email protected]>2012-09-13 10:24:37 -0500
committerChristopher Jeffrey <[email protected]>2012-09-13 10:24:37 -0500
commit6278604753e1f9a08a75119f9b661178dd450bd0 (patch)
treec030e93bb9a5472b152783eac56830046c2bccf5 /compton.c
parent212582469a1f7ac8a6fd81bc8619ca401e247b77 (diff)
downloadtdebase-6278604753e1f9a08a75119f9b661178dd450bd0.tar.gz
tdebase-6278604753e1f9a08a75119f9b661178dd450bd0.zip
fix determine_evmask warnings
Diffstat (limited to 'compton.c')
-rw-r--r--compton.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/compton.c b/compton.c
index f54e95089..fc2f536e5 100644
--- a/compton.c
+++ b/compton.c
@@ -705,7 +705,8 @@ should_ignore(Display *dpy, unsigned long sequence) {
* Windows
*/
-long determine_evmask(Display *dpy, Window wid, enum win_evmode_t mode) {
+static long
+determine_evmask(Display *dpy, Window wid, win_evmode_t mode) {
long evmask = NoEventMask;
if (WIN_EVMODE_FRAME == mode || find_win(dpy, wid)) {