diff --git a/hyprland-git/cursor-fix.patch b/hyprland-git/cursor-fix.patch deleted file mode 100644 index 3a862ff..0000000 --- a/hyprland-git/cursor-fix.patch +++ /dev/null @@ -1,36 +0,0 @@ -From c030716c449fbd9f69e7627aaae5a26c914b973b Mon Sep 17 00:00:00 2001 -From: x1h0 -Date: Sun, 10 May 2026 09:15:38 +0200 -Subject: [PATCH] pointer: fix cursor bounds not updating on monitor layout - changes - ---- - src/managers/PointerManager.cpp | 2 ++ - src/managers/PointerManager.hpp | 1 + - 2 files changed, 3 insertions(+) - -diff --git a/src/managers/PointerManager.cpp b/src/managers/PointerManager.cpp -index b6419e71361..9fd91157756 100644 ---- a/src/managers/PointerManager.cpp -+++ b/src/managers/PointerManager.cpp -@@ -43,6 +43,8 @@ CPointerManager::CPointerManager() { - }); - }); - -+ m_hooks.monitorLayoutChanged = Event::bus()->m_events.monitor.layoutChanged.listen([this] { onMonitorLayoutChange(); }); -+ - m_hooks.monitorPreRender = Event::bus()->m_events.monitor.preCommit.listen([this](PHLMONITOR monitor) { - auto state = stateFor(monitor); - if (!state) -diff --git a/src/managers/PointerManager.hpp b/src/managers/PointerManager.hpp -index 41e8e32a0c0..fbeab138a83 100644 ---- a/src/managers/PointerManager.hpp -+++ b/src/managers/PointerManager.hpp -@@ -188,6 +188,7 @@ class CPointerManager { - - struct { - CHyprSignalListener monitorAdded; -+ CHyprSignalListener monitorLayoutChanged; - CHyprSignalListener monitorPreRender; - } m_hooks; - }; diff --git a/hyprland-git/hyprland-git.spec b/hyprland-git/hyprland-git.spec index fa37616..3f484c7 100644 --- a/hyprland-git/hyprland-git.spec +++ b/hyprland-git/hyprland-git.spec @@ -1,8 +1,8 @@ -%global hyprland_commit 24c5c13c2cef2b4324478f2fb8c2ecc386dd42d3 +%global hyprland_commit 4e3955716619c58a8e9e2f81af5f8f2862e77a1b %global hyprland_shortcommit %(c=%{hyprland_commit}; echo ${c:0:7}) %global bumpver 1 -%global commits_count 7333 -%global commit_date Sat May 16 09:15:08 2026 +%global commits_count 7337 +%global commit_date Sun May 17 11:52:48 2026 %global protocols_commit 3a5c2bda1c1a4e55cc1330c782547695a93f05b2 %global protocols_shortcommit %(c=%{protocols_commit}; echo ${c:0:7}) @@ -35,7 +35,6 @@ Source0: %{url}/releases/download/v%{version}/source-v%{version}.tar.gz %endif Source4: macros.hyprland Source5: https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-%{libxkbcommon_version}/libxkbcommon-%{libxkbcommon_version}.tar.gz -Patch: cursor-fix.patch %{lua: hyprdeps = { @@ -188,7 +187,7 @@ Requires: pkgconfig(xkbcommon) %prep -%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -p1 +%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -N %if 0%{?bumpver} tar -xf %{SOURCE2} -C subprojects/hyprland-protocols --strip=1