summaryrefslogtreecommitdiff
path: root/src/desktop/Workspace.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-02-21 21:30:39 +0000
committerGitHub <noreply@github.com>2026-02-21 21:30:39 +0000
commit723870337f299d4c80aa0048144f3a1ca1c885bd (patch)
treeca3279ae5dbc841f676c64d2f58f895de13cd3bf /src/desktop/Workspace.hpp
parent51f8849e541f0a8150ac3a43fa928c1e299daf18 (diff)
layout: rethonk layouts from the ground up (#12890)
Rewrites layouts to be much smaller, and deal with much less annoying BS. Improves the overall architecture, unifies handling of pseudotiling, and various other improvements.
Diffstat (limited to 'src/desktop/Workspace.hpp')
-rw-r--r--src/desktop/Workspace.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/desktop/Workspace.hpp b/src/desktop/Workspace.hpp
index 1aad1aaa..c39e928f 100644
--- a/src/desktop/Workspace.hpp
+++ b/src/desktop/Workspace.hpp
@@ -6,6 +6,10 @@
#include "../helpers/MiscFunctions.hpp"
#include "../helpers/signal/Signal.hpp"
+namespace Layout {
+ class CSpace;
+};
+
enum eFullscreenMode : int8_t {
FSMODE_NONE = 0,
FSMODE_MAXIMIZED = 1 << 0,
@@ -20,7 +24,9 @@ class CWorkspace {
CWorkspace(WORKSPACEID id, PHLMONITOR monitor, std::string name, bool special = false, bool isEmpty = true);
~CWorkspace();
- WP<CWorkspace> m_self;
+ WP<CWorkspace> m_self;
+
+ SP<Layout::CSpace> m_space;
// Workspaces ID-based have IDs > 0
// and workspaces name-based have IDs starting with -1337