diff options
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index ebc2abe3..2fff5078 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -96,6 +96,8 @@ public: CWindow* getWindowFromSurface(wlr_surface*); bool isWorkspaceVisible(const int&); CWorkspace* getWorkspaceByID(const int&); + CWorkspace* getWorkspaceByName(const std::string&); + CWorkspace* getWorkspaceByString(const std::string&); void sanityCheckWorkspaces(); int getWindowsOnWorkspace(const int&); CWindow* getFirstWindowOnWorkspace(const int&); @@ -108,6 +110,7 @@ public: CWindow* getWindowInDirection(CWindow*, char); void deactivateAllWLRWorkspaces(); CWindow* getNextWindowOnWorkspace(CWindow*); + int getNextAvailableNamedWorkspace(); private: void initAllSignals(); |
