summaryrefslogtreecommitdiff
path: root/src/client/qwaylandwindow.cpp
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-10-30 10:33:34 -0400
committerJohan Klokkhammer Helsing <johan.helsing@qt.io>2020-02-04 11:23:39 +0100
commit705ae10b204c5a5c47fe75a6ab324d5ed4cd173e (patch)
tree2fb9523463403cbef8379a8761cef9e6b91fa18a /src/client/qwaylandwindow.cpp
parentdeed419755f3ed8409ba0cf784695ca7a3a6063a (diff)
downloadqtwayland-705ae10b204c5a5c47fe75a6ab324d5ed4cd173e.tar.gz
Client: Update to new signature for startSystemMove()
In 35dfb5a5, we temporarily disabled the override to let qt5.git update, now we add it back with the new signature. This means QWindow::startSystemMove now works for Wayland. Task-number: QTBUG-81751 Task-number: QTBUG-73011 Change-Id: I1459300d6f7fb77a9ae07bb4f5c2b80722f9b02c Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Diffstat (limited to 'src/client/qwaylandwindow.cpp')
-rw-r--r--src/client/qwaylandwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp
index 8cc26d71..7802aca6 100644
--- a/src/client/qwaylandwindow.cpp
+++ b/src/client/qwaylandwindow.cpp
@@ -1185,9 +1185,8 @@ void QWaylandWindow::propagateSizeHints()
mShellSurface->propagateSizeHints();
}
-bool QtWaylandClient::QWaylandWindow::startSystemMove(const QPoint &pos)
+bool QtWaylandClient::QWaylandWindow::startSystemMove()
{
- Q_UNUSED(pos);
if (auto seat = display()->lastInputDevice())
return mShellSurface && mShellSurface->move(seat);
return false;