mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 23:05:58 +01:00
compositor: disallow sending pinned to special
This commit is contained in:
parent
f1ad270ff8
commit
5484411232
1 changed files with 3 additions and 0 deletions
|
@ -2352,6 +2352,9 @@ void CCompositor::moveWindowToWorkspaceSafe(CWindow* pWindow, CWorkspace* pWorks
|
|||
if (!pWindow || !pWorkspace)
|
||||
return;
|
||||
|
||||
if (pWindow->m_bPinned && pWorkspace->m_bIsSpecialWorkspace)
|
||||
return;
|
||||
|
||||
const bool FULLSCREEN = pWindow->m_bIsFullscreen;
|
||||
const auto FULLSCREENMODE = getWorkspaceByID(pWindow->m_iWorkspaceID)->m_efFullscreenMode;
|
||||
|
||||
|
|
Loading…
Reference in a new issue