diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2016-07-04 17:54:22 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2016-07-12 07:47:19 +0000 |
commit | dad7a6fafd27ee6331869c08adbe7cc071c16417 (patch) | |
tree | bf20122d65ee9e76c7f854b900f539c15bad7c00 /src/compositor | |
parent | 887f64448e49aa5539ad3cc23a2bac4e8c63648d (diff) |
Rename sendUnMaximized to sendUnmaximized
Change-Id: I20add5c8b12e1345ce50c009d8bae80fde9806e1
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/compositor')
-rw-r--r-- | src/compositor/extensions/qwaylandxdgshell.cpp | 2 | ||||
-rw-r--r-- | src/compositor/extensions/qwaylandxdgshell.h | 2 | ||||
-rw-r--r-- | src/compositor/extensions/qwaylandxdgshellintegration.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshell.cpp b/src/compositor/extensions/qwaylandxdgshell.cpp index 137f3ec31..92676e0ef 100644 --- a/src/compositor/extensions/qwaylandxdgshell.cpp +++ b/src/compositor/extensions/qwaylandxdgshell.cpp @@ -938,7 +938,7 @@ uint QWaylandXdgSurface::sendMaximized(const QSize &size) return sendConfigure(size, conf.states); } -uint QWaylandXdgSurface::sendUnMaximized(const QSize &size) +uint QWaylandXdgSurface::sendUnmaximized(const QSize &size) { Q_D(QWaylandXdgSurface); QWaylandXdgSurfacePrivate::ConfigureEvent conf = d->lastSentConfigure(); diff --git a/src/compositor/extensions/qwaylandxdgshell.h b/src/compositor/extensions/qwaylandxdgshell.h index a12d16480..35b55fa23 100644 --- a/src/compositor/extensions/qwaylandxdgshell.h +++ b/src/compositor/extensions/qwaylandxdgshell.h @@ -155,7 +155,7 @@ public: Q_INVOKABLE void sendClose(); Q_INVOKABLE uint sendMaximized(const QSize &size); - Q_INVOKABLE uint sendUnMaximized(const QSize &size = QSize(0, 0)); + Q_INVOKABLE uint sendUnmaximized(const QSize &size = QSize(0, 0)); Q_INVOKABLE uint sendFullscreen(const QSize &size); Q_INVOKABLE uint sendResizing(const QSize &maxSize); diff --git a/src/compositor/extensions/qwaylandxdgshellintegration.cpp b/src/compositor/extensions/qwaylandxdgshellintegration.cpp index 514f956ba..cb3b7ea23 100644 --- a/src/compositor/extensions/qwaylandxdgshellintegration.cpp +++ b/src/compositor/extensions/qwaylandxdgshellintegration.cpp @@ -96,7 +96,7 @@ bool XdgShellIntegration::mouseReleaseEvent(QMouseEvent *event) Q_UNUSED(event); if (grabberState == GrabberState::Resize) { - m_xdgSurface->sendUnMaximized(); + m_xdgSurface->sendUnmaximized(); grabberState = GrabberState::Default; return true; } else if (grabberState == GrabberState::Move) { @@ -135,7 +135,7 @@ void XdgShellIntegration::handleSetMaximized() void XdgShellIntegration::handleUnsetMaximized() { - m_xdgSurface->sendUnMaximized(maximizeState.initialWindowSize); + m_xdgSurface->sendUnmaximized(maximizeState.initialWindowSize); } void XdgShellIntegration::handleMaximizedChanged() |