summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandwindow_p.h
diff options
context:
space:
mode:
authorErik Larsson <erik@ortogonal.com>2016-04-17 20:34:21 +0200
committerErik Larsson <erik@ortogonal.com>2016-04-21 11:12:43 +0000
commitfb417c301cace4825d13e818e4e7e4e1b966c630 (patch)
tree77a4f0e62cb581b3997c19684ea465ce30a8aa98 /src/client/qwaylandwindow_p.h
parenta1b8e326e45edbf7d373d4d44bdecad13562efa4 (diff)
Move drag icon relative the cursor hotspot position
Instead of placing the drag icons top-left corner at the cursors hotspot the drag icon is moved so it will be placed correct relative the cursor hotspot. This will makes the drag feeling more realistic. Change-Id: I8d60ae1b7788accb9034575983417abae4c58c1a Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com> Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/client/qwaylandwindow_p.h')
-rw-r--r--src/client/qwaylandwindow_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylandwindow_p.h b/src/client/qwaylandwindow_p.h
index 57f4657bb..f36f0833b 100644
--- a/src/client/qwaylandwindow_p.h
+++ b/src/client/qwaylandwindow_p.h
@@ -197,6 +197,7 @@ public:
bool setKeyboardGrabEnabled(bool) Q_DECL_OVERRIDE { return false; }
void propagateSizeHints() Q_DECL_OVERRIDE { }
+ void addAttachOffset(const QPoint point);
void requestUpdate() Q_DECL_OVERRIDE;