From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0A6D0158041 for ; Sun, 10 Mar 2024 03:40:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1DF68E2A5D; Sun, 10 Mar 2024 03:40:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 003A5E2A5D for ; Sun, 10 Mar 2024 03:40:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E76CD335DC3 for ; Sun, 10 Mar 2024 03:40:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4085914A2 for ; Sun, 10 Mar 2024 03:40:26 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1710042002.06091e0976c20b8b52ce005cd21a31e3f5b0e025.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/hyprland/, gui-wm/hyprland/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-wm/hyprland/files/tty-freeze.patch gui-wm/hyprland/hyprland-0.35.0-r2.ebuild gui-wm/hyprland/hyprland-0.35.0-r3.ebuild gui-wm/hyprland/hyprland-0.36.0-r1.ebuild gui-wm/hyprland/hyprland-0.36.0-r2.ebuild X-VCS-Directories: gui-wm/hyprland/files/ gui-wm/hyprland/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 06091e0976c20b8b52ce005cd21a31e3f5b0e025 X-VCS-Branch: master Date: Sun, 10 Mar 2024 03:40:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 63e198c4-c73a-4377-b796-a15c6c741216 X-Archives-Hash: 0a3bb8bc8bd76da423def2702919ca06 commit: 06091e0976c20b8b52ce005cd21a31e3f5b0e025 Author: Julien Roy jroy ca> AuthorDate: Sat Mar 9 17:56:07 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Sun Mar 10 03:40:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06091e09 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 jroy.ca> Signed-off-by: Yixun Lan gentoo.org> gui-wm/hyprland/files/tty-freeze.patch | 12 ++++++++++++ .../{hyprland-0.35.0-r2.ebuild => hyprland-0.35.0-r3.ebuild} | 3 +++ .../{hyprland-0.36.0-r1.ebuild => hyprland-0.36.0-r2.ebuild} | 3 +++ 3 files changed, 18 insertions(+) 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 similarity index 96% rename from gui-wm/hyprland/hyprland-0.35.0-r2.ebuild rename to 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 similarity index 96% rename from gui-wm/hyprland/hyprland-0.36.0-r1.ebuild rename to 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() {