diff options
author | Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> | 2013-12-09 19:50:22 +0100 |
---|---|---|
committer | Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> | 2013-12-10 15:09:33 +0100 |
commit | 575bd3a39b4a9b3a20de6cfc3e2202afa6acffb6 (patch) | |
tree | 3e309c8ed4687b64747bac62144c7f386120ec0f /src/plugins/platforms | |
parent | bc4cf6e2f475733299a33fea8b8e65b94a0d2779 (diff) |
Pass full screen method constant name instead of value
Minor change but it makes the code more readable.
Change-Id: I89206e519daec9c1d7fc2b5e716943396e6ea76b
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/wayland_common/qwaylandshellsurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland_common/qwaylandshellsurface.cpp b/src/plugins/platforms/wayland_common/qwaylandshellsurface.cpp index 6e638e6b1..4c8ff1bc4 100644 --- a/src/plugins/platforms/wayland_common/qwaylandshellsurface.cpp +++ b/src/plugins/platforms/wayland_common/qwaylandshellsurface.cpp @@ -88,7 +88,7 @@ void QWaylandShellSurface::setFullscreen() { m_fullscreen = true; m_size = m_window->window()->geometry().size(); - set_fullscreen(0, 0, 0); + set_fullscreen(WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT, 0, 0); } void QWaylandShellSurface::setNormal() |