summaryrefslogtreecommitdiff
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-11 19:51:37 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-11 19:51:37 +0200
commita8e872923045eddd314bc26553401a6eb17c57cc (patch)
treee8fa6a207b485cebd78f752e7683452000f0be48 /src/Compositor.hpp
parentb56343133d21622a6187bb1ef8906023ecbc09ef (diff)
Added zext_workspace protocol support 🎉
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 2eb5b2e2..c6b31e0a 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -49,6 +49,7 @@ public:
wlr_keyboard_shortcuts_inhibit_manager_v1* m_sWLRKbShInhibitMgr;
wlr_egl* m_sWLREGL;
int m_iDRMFD;
+ wlr_ext_workspace_manager_v1* m_sWLREXTWorkspaceMgr;
// ------------------------------------------------- //
@@ -57,7 +58,7 @@ public:
std::list<SMonitor> m_lMonitors;
std::list<CWindow> m_lWindows;
std::list<SXDGPopup> m_lXDGPopups;
- std::list<SWorkspace> m_lWorkspaces;
+ std::list<CWorkspace> m_lWorkspaces;
std::list<SSubsurface> m_lSubsurfaces;
std::list<CWindow*> m_lWindowsFadingOut;
@@ -90,7 +91,7 @@ public:
CWindow* getWindowForPopup(wlr_xdg_popup*);
CWindow* getWindowFromSurface(wlr_surface*);
bool isWorkspaceVisible(const int&);
- SWorkspace* getWorkspaceByID(const int&);
+ CWorkspace* getWorkspaceByID(const int&);
void sanityCheckWorkspaces();
int getWindowsOnWorkspace(const int&);
CWindow* getFirstWindowOnWorkspace(const int&);
@@ -101,6 +102,7 @@ public:
void moveWindowToTop(CWindow*);
void cleanupWindows();
CWindow* getWindowInDirection(CWindow*, char);
+ void deactivateAllWLRWorkspaces();
private:
void initAllSignals();