Added named workspaces

This commit is contained in:
vaxerski
2022-04-21 16:38:48 +02:00
parent c02afa0c27
commit b618fc1caa
4 changed files with 71 additions and 18 deletions

View File

@@ -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();