From 9f9129e53647f61ffa70287ae0cc83d70d4c9bf6 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 29 Sep 2022 16:53:31 +0100 Subject: focusable checks in nextWindow calls --- src/Compositor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Compositor.hpp') diff --git a/src/Compositor.hpp b/src/Compositor.hpp index fcec0fb5..aa4cd878 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -138,8 +138,8 @@ public: void cleanupFadingOut(const int& monid); CWindow* getWindowInDirection(CWindow*, char); void deactivateAllWLRWorkspaces(wlr_ext_workspace_handle_v1* exclude = nullptr); - CWindow* getNextWindowOnWorkspace(CWindow*); - CWindow* getPrevWindowOnWorkspace(CWindow*); + CWindow* getNextWindowOnWorkspace(CWindow*, bool focusableOnly = false); + CWindow* getPrevWindowOnWorkspace(CWindow*, bool focusableOnly = false); int getNextAvailableNamedWorkspace(); bool isPointOnAnyMonitor(const Vector2D&); CWindow* getConstraintWindow(SMouse*); -- cgit v1.2.3