mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
gui-wm/hyprland: add patch for bug 926259
Closes: https://bugs.gentoo.org/926259 Closes: https://github.com/gentoo/gentoo/pull/35686 Signed-off-by: Julien Roy <julien@jroy.ca> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
12
gui-wm/hyprland/files/tty-freeze.patch
Normal file
12
gui-wm/hyprland/files/tty-freeze.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/src/events/Misc.cpp b/src/events/Misc.cpp
|
||||
index b77cf038..eaaaec18 100644
|
||||
--- a/src/events/Misc.cpp
|
||||
+++ b/src/events/Misc.cpp
|
||||
@@ -169,6 +169,7 @@ void Events::listener_sessionActive(wl_listener* listener, void* data) {
|
||||
|
||||
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||
g_pCompositor->scheduleFrameForMonitor(m.get());
|
||||
+ g_pHyprRenderer->applyMonitorRule(m.get(), &m->activeMonitorRule, true);
|
||||
}
|
||||
|
||||
g_pConfigManager->m_bWantsMonitorReload = true;
|
||||
@@ -95,6 +95,9 @@ BDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/legacy-renderer-fix.patch"
|
||||
# https://bugs.gentoo.org/926259
|
||||
# https://github.com/hyprwm/Hyprland/issues/4839
|
||||
"${FILESDIR}/tty-freeze.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
@@ -96,6 +96,9 @@ BDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/legacy-renderer-fix.patch"
|
||||
# https://bugs.gentoo.org/926259
|
||||
# https://github.com/hyprwm/Hyprland/issues/4839
|
||||
"${FILESDIR}/tty-freeze.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
Reference in New Issue
Block a user