diff options
author | Pavel Belyavsky <[email protected]> | 2024-12-10 23:55:05 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-10 21:55:05 +0100 |
commit | 4d05677e8d398b6fa144eae7a98ad4f2a54acb92 (patch) | |
tree | 0f3e8e90dfc3dabcb40992609f17186f94258574 /src/desktop/Window.hpp | |
parent | c16044a5c88ce9a42987b849068a66c11873575d (diff) | |
download | Hyprland-4d05677e8d398b6fa144eae7a98ad4f2a54acb92.tar.gz Hyprland-4d05677e8d398b6fa144eae7a98ad4f2a54acb92.zip |
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`
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r-- | src/desktop/Window.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |