workspace: Add count group flag in windowCount workspace selector prop (#5499)

* Add groupCount workspace selector prop

* Intergrate groupCount with windowCount
This commit is contained in:
Sungyoon Cho
2024-04-09 20:08:38 +09:00
committed by GitHub
parent f6786f04d2
commit fcac25bcc2
4 changed files with 47 additions and 11 deletions

View File

@@ -151,6 +151,7 @@ class CCompositor {
void sanityCheckWorkspaces();
void updateWorkspaceWindowDecos(const int&);
int getWindowsOnWorkspace(const int& id, std::optional<bool> onlyTiled = {});
int getGroupsOnWorkspace(const int& id, std::optional<bool> onlyTiled = {});
CWindow* getUrgentWindow();
bool hasUrgentWindowOnWorkspace(const int&);
CWindow* getFirstWindowOnWorkspace(const int&);