mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-24 17:50:05 +01:00
core: ignore internal move workspace calls if the workspace doesn't change (#9516)
This commit is contained in:
parent
11943f761e
commit
2acbb59bf2
1 changed files with 3 additions and 0 deletions
|
|
@ -2700,6 +2700,9 @@ void CCompositor::moveWindowToWorkspaceSafe(PHLWINDOW pWindow, PHLWORKSPACE pWor
|
|||
if (pWindow->m_bPinned && pWorkspace->m_bIsSpecialWorkspace)
|
||||
return;
|
||||
|
||||
if (pWindow->m_pWorkspace == pWorkspace)
|
||||
return;
|
||||
|
||||
const bool FULLSCREEN = pWindow->isFullscreen();
|
||||
const auto FULLSCREENMODE = pWindow->m_sFullscreenState.internal;
|
||||
const bool WASVISIBLE = pWindow->m_pWorkspace && pWindow->m_pWorkspace->isVisible();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue