diff options
author | Matt Hoosier <matt.hoosier@garmin.com> | 2018-06-12 10:54:55 -0500 |
---|---|---|
committer | Matt Hoosier <matt.hoosier@garmin.com> | 2018-06-17 01:39:02 +0000 |
commit | 254b1428724f3e79248b906ad4cba810c0d37572 (patch) | |
tree | c6907bf1648d0c1058a52fd35a4d9dfd8fa35c5e /src/compositor/extensions/qwaylandxdgshellv6integration_p.h | |
parent | f423482a6e619a10754111254d7b4598e2d1e37c (diff) |
Compositor: implement fullscreen for XdgShellV6
This is patterned closely after the existing handling for
maximization.
[ChangeLog][Compositor] Added support for handling xdg-shell
v6 requests to enter/exit fullscreen mode.
Change-Id: I1f3127694d8537d76159b56350f35a4e8aa3e56d
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshellv6integration_p.h')
-rw-r--r-- | src/compositor/extensions/qwaylandxdgshellv6integration_p.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshellv6integration_p.h b/src/compositor/extensions/qwaylandxdgshellv6integration_p.h index 4ccabfa98..afb4964b9 100644 --- a/src/compositor/extensions/qwaylandxdgshellv6integration_p.h +++ b/src/compositor/extensions/qwaylandxdgshellv6integration_p.h @@ -72,6 +72,9 @@ private Q_SLOTS: void handleSetMaximized(); void handleUnsetMaximized(); void handleMaximizedChanged(); + void handleSetFullscreen(); + void handleUnsetFullscreen(); + void handleFullscreenChanged(); void handleActivatedChanged(); void handleSurfaceSizeChanged(); @@ -106,7 +109,7 @@ private: struct { QSize initialWindowSize; QPointF initialPosition; - } maximizeState; + } windowedGeometry; }; class XdgPopupV6Integration : public QWaylandQuickShellIntegration |