From fcbfd193930dd146b141531a9cf5301d55f26907 Mon Sep 17 00:00:00 2001 From: Cyril Levis Date: Sat, 21 Jan 2023 11:18:55 +0100 Subject: feat: add focus to urgent or last window (#1402) * feat: add focus to urgent or last window * Rename dispatcher Co-authored-by: Maxim Baz --- 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 7bcd6cf4..0d9dba67 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -137,6 +137,7 @@ class CCompositor { void sanityCheckWorkspaces(); void updateWorkspaceWindowDecos(const int&); int getWindowsOnWorkspace(const int&); + CWindow* getUrgentWindow(); bool hasUrgentWindowOnWorkspace(const int&); CWindow* getFirstWindowOnWorkspace(const int&); CWindow* getFullscreenWindowOnWorkspace(const int&); -- cgit v1.2.3