summaryrefslogtreecommitdiff
path: root/vcl/inc/unx/gtk/gtkdata.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/unx/gtk/gtkdata.hxx')
-rw-r--r--vcl/inc/unx/gtk/gtkdata.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/inc/unx/gtk/gtkdata.hxx b/vcl/inc/unx/gtk/gtkdata.hxx
index 5b37adaed263..cc37cd12a19b 100644
--- a/vcl/inc/unx/gtk/gtkdata.hxx
+++ b/vcl/inc/unx/gtk/gtkdata.hxx
@@ -173,11 +173,12 @@ inline bool surface_get_device_position(GdkSurface* pSurface,
pMask);
#else
int nX(x), nY(y);
- return gdk_window_get_device_position(pSurface, pDevice,
- &nX, &nY,
- pMask);
+ bool bRet = gdk_window_get_device_position(pSurface, pDevice,
+ &nX, &nY,
+ pMask);
x = nX;
y = nY;
+ return bRet;
#endif
}