From c803b1e711c0e3b71d03532cd8974fb903c49dd0 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 16 May 2025 19:19:31 +0200 Subject: [PATCH] booru: prevent cursor warping when opening link --- .config/quickshell/modules/sidebarLeft/anime/BooruImage.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/quickshell/modules/sidebarLeft/anime/BooruImage.qml b/.config/quickshell/modules/sidebarLeft/anime/BooruImage.qml index cdd44f198..ca180271f 100644 --- a/.config/quickshell/modules/sidebarLeft/anime/BooruImage.qml +++ b/.config/quickshell/modules/sidebarLeft/anime/BooruImage.qml @@ -159,7 +159,9 @@ Button { buttonText: qsTr("Open file link") onClicked: { root.showActions = false + Hyprland.dispatch("keyword cursor:no_warps true") Qt.openUrlExternally(root.imageData.file_url) + Hyprland.dispatch("keyword cursor:no_warps false") } } MenuButton { @@ -170,7 +172,9 @@ Button { enabled: root.imageData.source && root.imageData.source.length > 0 onClicked: { root.showActions = false + Hyprland.dispatch("keyword cursor:no_warps true") Qt.openUrlExternally(root.imageData.source) + Hyprland.dispatch("keyword cursor:no_warps false") } } MenuButton {