summaryrefslogtreecommitdiff
path: root/gui-wm/hyprland/files/tty-freeze.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gui-wm/hyprland/files/tty-freeze.patch')
-rw-r--r--gui-wm/hyprland/files/tty-freeze.patch12
1 files changed, 12 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;