diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-02-06 13:36:03 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2018-03-05 12:26:08 +0000 |
commit | 23f8d1209399d0c1cab46362143fa7bf1dd69182 (patch) | |
tree | 2dea1c188262b71cccab72f0bf5e2482d529520f /src/client/qwaylandxdgsurface.cpp | |
parent | 2c01e52f098c5a1cd7bb653b3e49fd2e02f11a60 (diff) |
Client: Implement QPlatformWindow::startSystemMove()
Hooks into what we already use for the window decorations.
Task-number: QTBUG-58044
Change-Id: Idcd971f69d52a5bb760bb6bffb26e9f5bdd429df
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/client/qwaylandxdgsurface.cpp')
-rw-r--r-- | src/client/qwaylandxdgsurface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/qwaylandxdgsurface.cpp b/src/client/qwaylandxdgsurface.cpp index 40ed9f07a..4dfc5e6da 100644 --- a/src/client/qwaylandxdgsurface.cpp +++ b/src/client/qwaylandxdgsurface.cpp @@ -85,10 +85,11 @@ void QWaylandXdgSurface::resize(QWaylandInputDevice *inputDevice, enum resize_ed edges); } -void QWaylandXdgSurface::move(QWaylandInputDevice *inputDevice) +bool QWaylandXdgSurface::move(QWaylandInputDevice *inputDevice) { move(inputDevice->wl_seat(), inputDevice->serial()); + return true; } void QWaylandXdgSurface::setMaximized() |