summaryrefslogtreecommitdiff
path: root/src/helpers/Workspace.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-09-01 17:10:03 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-09-01 17:10:03 +0200
commitbb0933437f4602080a66cc877fee36dce8dcb3ff (patch)
tree95cd1e67eddc83f6d435c30418673833e264554c /src/helpers/Workspace.hpp
parent5035f5fc682f3307e2130e10d5ba209495113edb (diff)
wlr-ext-workspace: remove protocol impl
Various reasons: 1st, memory issues. 2nd, MR got closed (see https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/merge_requests/35) 3rd, not needed anymore (waybar has its own hyprland/workspaces module)
Diffstat (limited to 'src/helpers/Workspace.hpp')
-rw-r--r--src/helpers/Workspace.hpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/helpers/Workspace.hpp b/src/helpers/Workspace.hpp
index a7ee0e7a..07b5694c 100644
--- a/src/helpers/Workspace.hpp
+++ b/src/helpers/Workspace.hpp
@@ -3,9 +3,9 @@
#include "AnimatedVariable.hpp"
#include <string>
#include "../defines.hpp"
-#include "../wlrunstable/wlr_ext_workspace_v1.hpp"
-enum eFullscreenMode : uint8_t {
+enum eFullscreenMode : uint8_t
+{
FULLSCREEN_FULL = 0,
FULLSCREEN_MAXIMIZED
};
@@ -29,12 +29,10 @@ class CWorkspace {
std::string name = "";
} m_sPrevWorkspace;
- bool m_bHasFullscreenWindow = false;
- eFullscreenMode m_efFullscreenMode = FULLSCREEN_FULL;
+ bool m_bHasFullscreenWindow = false;
+ eFullscreenMode m_efFullscreenMode = FULLSCREEN_FULL;
- wlr_ext_workspace_handle_v1* m_pWlrHandle = nullptr;
-
- wl_array m_wlrCoordinateArr;
+ wl_array m_wlrCoordinateArr;
// for animations
CAnimatedVariable m_vRenderOffset;