summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/wlextendedsurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/wayland_wrapper/wlextendedsurface.h')
-rw-r--r--src/compositor/wayland_wrapper/wlextendedsurface.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/compositor/wayland_wrapper/wlextendedsurface.h b/src/compositor/wayland_wrapper/wlextendedsurface.h
index 5cbabe60d..cd2748947 100644
--- a/src/compositor/wayland_wrapper/wlextendedsurface.h
+++ b/src/compositor/wayland_wrapper/wlextendedsurface.h
@@ -90,6 +90,9 @@ public:
Qt::ScreenOrientation windowOrientation() const;
Qt::ScreenOrientation contentOrientation() const;
+ void setWindowFlags(WaylandSurface::WindowFlags flags);
+ WaylandSurface::WindowFlags windowFlags() const { return m_windowFlags; }
+
private:
struct wl_resource *m_extended_surface_resource;
Surface *m_surface;
@@ -97,6 +100,8 @@ private:
Qt::ScreenOrientation m_windowOrientation;
Qt::ScreenOrientation m_contentOrientation;
+ WaylandSurface::WindowFlags m_windowFlags;
+
static void update_generic_property(struct wl_client *client,
struct wl_resource *resource,
const char *name,
@@ -110,6 +115,10 @@ private:
struct wl_resource *resource,
int32_t orientation);
+ static void set_window_flags(struct wl_client *client,
+ struct wl_resource *resource,
+ int32_t flags);
+
static const struct wl_extended_surface_interface extended_surface_interface;
};