diff options
author | Julien Roy <julien@jroy.ca> | 2024-03-09 12:56:07 -0500 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-03-10 03:40:02 +0000 |
commit | 06091e0976c20b8b52ce005cd21a31e3f5b0e025 (patch) | |
tree | 9745be87b80a60db7b8098d15e1eb126243fca2e /gui-wm | |
parent | dev-libs/hyprlang: add 0.4.2 (diff) | |
download | gentoo-06091e0976c20b8b52ce005cd21a31e3f5b0e025.tar.gz gentoo-06091e0976c20b8b52ce005cd21a31e3f5b0e025.tar.bz2 gentoo-06091e0976c20b8b52ce005cd21a31e3f5b0e025.zip |
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>
Diffstat (limited to 'gui-wm')
-rw-r--r-- | gui-wm/hyprland/files/tty-freeze.patch | 12 | ||||
-rw-r--r-- | gui-wm/hyprland/hyprland-0.35.0-r3.ebuild (renamed from gui-wm/hyprland/hyprland-0.35.0-r2.ebuild) | 3 | ||||
-rw-r--r-- | gui-wm/hyprland/hyprland-0.36.0-r2.ebuild (renamed from gui-wm/hyprland/hyprland-0.36.0-r1.ebuild) | 3 |
3 files changed, 18 insertions, 0 deletions
diff --git a/gui-wm/hyprland/files/tty-freeze.patch b/gui-wm/hyprland/files/tty-freeze.patch new file mode 100644 index 000000000000..991593b8de86 --- /dev/null +++ b/gui-wm/hyprland/files/tty-freeze.patch @@ -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; diff --git a/gui-wm/hyprland/hyprland-0.35.0-r2.ebuild b/gui-wm/hyprland/hyprland-0.35.0-r3.ebuild index 81c8b1bbcb99..369ffc6eb951 100644 --- a/gui-wm/hyprland/hyprland-0.35.0-r2.ebuild +++ b/gui-wm/hyprland/hyprland-0.35.0-r3.ebuild @@ -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() { diff --git a/gui-wm/hyprland/hyprland-0.36.0-r1.ebuild b/gui-wm/hyprland/hyprland-0.36.0-r2.ebuild index 972fe7b33988..7190982afaef 100644 --- a/gui-wm/hyprland/hyprland-0.36.0-r1.ebuild +++ b/gui-wm/hyprland/hyprland-0.36.0-r2.ebuild @@ -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() { |