diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 2 |
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) |
116 | static Bool queueScanner(Display *, XEvent *e, char *args) { | 116 | extern "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) { |