Add global x and y coordinates to our mouse events
[profile/ivi/qtwayland.git] / src / compositor / wayland_wrapper / wlcompositor.h
index 3ca4fd2..b3afe86 100644 (file)
@@ -78,7 +78,7 @@ public:
     void setInputFocus(Surface *surface);
     void setKeyFocus(Surface *surface);
     Surface *keyFocus() const;
-    void setPointerFocus(Surface *surface, const QPoint &point = QPoint());
+    void setPointerFocus(Surface *surface, const QPoint &globalPos = QPoint(), const QPoint &localPos = QPoint());
     Surface *pointerFocus() const;
 
     Surface *getSurfaceFromWinId(uint winId) const;