summaryrefslogtreecommitdiff
path: root/src/layout/target/Target.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-05-07 15:21:06 +0100
committerGitHub <noreply@github.com>2026-05-07 15:21:06 +0100
commit58833eb1d79d7f03402cee0730c309b79f2e4501 (patch)
tree180cadc5d2e6fcb9e2f090eeccc6fb4ccace9b51 /src/layout/target/Target.hpp
parent6b8b20100253c083227e611be20360f4d8e7794e (diff)
layout/scrolling: handle fullscreen manually (#14190)
Makes scroll handle fullscreen by itself, allowing for fs scrolls.
Diffstat (limited to 'src/layout/target/Target.hpp')
-rw-r--r--src/layout/target/Target.hpp11
1 files changed, 7 insertions, 4 deletions
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<ITarget> b);
+ virtual bool layoutManagedFullscreen() const;
+ virtual void setLayoutManagedFullscreen(bool enabled);
//
virtual bool floating() = 0;
@@ -77,9 +79,10 @@ namespace Layout {
SP<CSpace> m_space;
WP<ITarget> 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;
};
};