aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2009-10-03 11:40:32 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2009-10-03 11:40:32 (GMT)
commita973154c668bd4d3267de6edcafa1a3adcfd3e9b (patch)
tree38ad25266832de529ff2c2f213720d49438b5a89 /src
parentf2ea245f1dfc7c4941143db49ae81b8fceefea8c (diff)
downloadfluxbox_paul-a973154c668bd4d3267de6edcafa1a3adcfd3e9b.zip
fluxbox_paul-a973154c668bd4d3267de6edcafa1a3adcfd3e9b.tar.bz2
compile fixes for sun compiler 5.10: 'i want an extern C function ptr'
Diffstat (limited to 'src')
-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) {