aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTom Englund <[email protected]>2024-08-18 21:02:46 +0200
committerGitHub <[email protected]>2024-08-18 20:02:46 +0100
commit5afc4dc42e2409da62b7bcdf0ead90329e8d7a92 (patch)
tree74ff4d82bb59aa14dd02552a00b6ce8d5e4f5fca
parent50348a3ddbb6bc3367300c9bba2ff682e4a356e3 (diff)
downloadHyprland-5afc4dc42e2409da62b7bcdf0ead90329e8d7a92.tar.gz
Hyprland-5afc4dc42e2409da62b7bcdf0ead90329e8d7a92.zip
compositor: update suspendstate on window move (#7396)
hyprctl dispatch -- movetoworkspacesilent x,"^kitty$" where X is the current workspace makes kitty stops updating until current workspace is changed while it is on the screen. update the suspend state after it has been moved.
-rw-r--r--src/Compositor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 9d247a56..1437a653 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -2737,6 +2737,7 @@ void CCompositor::moveWindowToWorkspaceSafe(PHLWINDOW pWindow, PHLWORKSPACE pWor
g_pCompositor->updateWorkspaceWindows(pWorkspace->m_iID);
g_pCompositor->updateWorkspaceWindows(pWindow->workspaceID());
+ g_pCompositor->updateSuspendedStates();
}
PHLWINDOW CCompositor::getForceFocus() {