summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 2d4f85a..34b92e1 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -113,7 +113,7 @@ typedef struct scanargs {
113} scanargs; 113} scanargs;
114 114
115// look for valid enter or leave events (that may invalidate the earlier one we are interested in) 115// look for valid enter or leave events (that may invalidate the earlier one we are interested in)
116static Bool queueScanner(Display *, XEvent *e, char *args) { 116extern "C" int queueScanner(Display *, XEvent *e, char *args) {
117 if (e->type == LeaveNotify && 117 if (e->type == LeaveNotify &&
118 e->xcrossing.window == ((scanargs *) args)->w && 118 e->xcrossing.window == ((scanargs *) args)->w &&
119 e->xcrossing.mode == NotifyNormal) { 119 e->xcrossing.mode == NotifyNormal) {