[hyprland] Remove patch
All checks were successful
Build hyprland-git / Build and push image (push) Successful in 33m11s

This commit is contained in:
2026-05-18 09:08:09 -04:00
parent 90cae10ce5
commit cd8f62d5cb
2 changed files with 4 additions and 41 deletions

View File

@@ -1,36 +0,0 @@
From c030716c449fbd9f69e7627aaae5a26c914b973b Mon Sep 17 00:00:00 2001
From: x1h0 <hello@kai-ratzeburg.de>
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;
};

View File

@@ -1,8 +1,8 @@
%global hyprland_commit 24c5c13c2cef2b4324478f2fb8c2ecc386dd42d3 %global hyprland_commit 4e3955716619c58a8e9e2f81af5f8f2862e77a1b
%global hyprland_shortcommit %(c=%{hyprland_commit}; echo ${c:0:7}) %global hyprland_shortcommit %(c=%{hyprland_commit}; echo ${c:0:7})
%global bumpver 1 %global bumpver 1
%global commits_count 7333 %global commits_count 7337
%global commit_date Sat May 16 09:15:08 2026 %global commit_date Sun May 17 11:52:48 2026
%global protocols_commit 3a5c2bda1c1a4e55cc1330c782547695a93f05b2 %global protocols_commit 3a5c2bda1c1a4e55cc1330c782547695a93f05b2
%global protocols_shortcommit %(c=%{protocols_commit}; echo ${c:0:7}) %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 %endif
Source4: macros.hyprland Source4: macros.hyprland
Source5: https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-%{libxkbcommon_version}/libxkbcommon-%{libxkbcommon_version}.tar.gz Source5: https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-%{libxkbcommon_version}/libxkbcommon-%{libxkbcommon_version}.tar.gz
Patch: cursor-fix.patch
%{lua: %{lua:
hyprdeps = { hyprdeps = {
@@ -188,7 +187,7 @@ Requires: pkgconfig(xkbcommon)
%prep %prep
%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -p1 %autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -N
%if 0%{?bumpver} %if 0%{?bumpver}
tar -xf %{SOURCE2} -C subprojects/hyprland-protocols --strip=1 tar -xf %{SOURCE2} -C subprojects/hyprland-protocols --strip=1