From bb0933437f4602080a66cc877fee36dce8dcb3ff Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 1 Sep 2023 17:10:03 +0200 Subject: 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) --- src/helpers/Workspace.hpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/helpers/Workspace.hpp') 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 #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; -- cgit v1.2.3