Implement urgency hint for workspaces (#1379)

When there are any unfocused windows that request activation, mark the workspace as urgent.
This commit is contained in:
Maxim Baz 2023-01-14 20:31:11 +01:00 committed by GitHub
parent b3012d97ab
commit 668d90c700
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 1 deletions

View file

@ -135,6 +135,7 @@ class CCompositor {
void sanityCheckWorkspaces();
void updateWorkspaceWindowDecos(const int&);
int getWindowsOnWorkspace(const int&);
bool hasUrgentWindowOnWorkspace(const int&);
CWindow* getFirstWindowOnWorkspace(const int&);
CWindow* getFullscreenWindowOnWorkspace(const int&);
bool doesSeatAcceptInput(wlr_surface*);