From 4d05677e8d398b6fa144eae7a98ad4f2a54acb92 Mon Sep 17 00:00:00 2001 From: Pavel Belyavsky Date: Tue, 10 Dec 2024 23:55:05 +0300 Subject: config: add 'force' option for 'cursor:warp_on_change_workspace' (#8681) * config: add 'force' option for 'cursor:warp_on_change_workspace' * manager: throw the expression into the function arguments * config: fix description of `cursor:warp_on_change_workspace` --- src/desktop/Window.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/desktop/Window.hpp') diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp index 35da010c..fc7ead24 100644 --- a/src/desktop/Window.hpp +++ b/src/desktop/Window.hpp @@ -470,7 +470,7 @@ class CWindow { void onResourceChangeX11(); std::string fetchTitle(); std::string fetchClass(); - void warpCursor(); + void warpCursor(bool force = false); PHLWINDOW getSwallower(); void unsetWindowData(eOverridePriority priority); bool isX11OverrideRedirect(); -- cgit v1.2.3