From 58833eb1d79d7f03402cee0730c309b79f2e4501 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Thu, 7 May 2026 15:21:06 +0100 Subject: layout/scrolling: handle fullscreen manually (#14190) Makes scroll handle fullscreen by itself, allowing for fs scrolls. --- src/layout/target/Target.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/layout/target/Target.hpp') diff --git a/src/layout/target/Target.hpp b/src/layout/target/Target.hpp index bae5eee5..b0f55f14 100644 --- a/src/layout/target/Target.hpp +++ b/src/layout/target/Target.hpp @@ -57,6 +57,8 @@ namespace Layout { virtual void setPseudoSize(const Vector2D& size); virtual Vector2D pseudoSize(); virtual void swap(SP b); + virtual bool layoutManagedFullscreen() const; + virtual void setLayoutManagedFullscreen(bool enabled); // virtual bool floating() = 0; @@ -77,9 +79,10 @@ namespace Layout { SP m_space; WP m_self; Vector2D m_floatingSize; - bool m_pseudo = false; - bool m_ghostSpace = false; // ghost space means a target belongs to a space, but isn't sent to the layout - Vector2D m_pseudoSize = {1280, 720}; - bool m_wasTiling = false; + bool m_pseudo = false; + bool m_ghostSpace = false; // ghost space means a target belongs to a space, but isn't sent to the layout + Vector2D m_pseudoSize = {1280, 720}; + bool m_wasTiling = false; + bool m_layoutManagedFullscreen = false; }; }; -- cgit v1.2.3