diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-21 16:38:48 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-21 16:38:48 +0200 |
| commit | b618fc1caa4063bbed8373935db7e00b2f0cc9fe (patch) | |
| tree | 3080cea972386b28dc7d624c1a7c600f6e8124a4 /src/Compositor.hpp | |
| parent | c02afa0c2725b353c56706fa0186143f661cc283 (diff) | |
Added named workspaces
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(); |
