From fcac25bcc2496dc248e9ee912d95ec38b5397acd Mon Sep 17 00:00:00 2001 From: Sungyoon Cho Date: Tue, 9 Apr 2024 20:08:38 +0900 Subject: workspace: Add count group flag in windowCount workspace selector prop (#5499) * Add groupCount workspace selector prop * Intergrate groupCount with windowCount --- src/Compositor.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Compositor.hpp') diff --git a/src/Compositor.hpp b/src/Compositor.hpp index 4604f687..11be7c81 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -151,6 +151,7 @@ class CCompositor { void sanityCheckWorkspaces(); void updateWorkspaceWindowDecos(const int&); int getWindowsOnWorkspace(const int& id, std::optional onlyTiled = {}); + int getGroupsOnWorkspace(const int& id, std::optional onlyTiled = {}); CWindow* getUrgentWindow(); bool hasUrgentWindowOnWorkspace(const int&); CWindow* getFirstWindowOnWorkspace(const int&); -- cgit v1.2.3