mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 03:45:59 +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)
|
if (!pWindow || !pWorkspace)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (pWindow->m_bPinned && pWorkspace->m_bIsSpecialWorkspace)
|
||||||
|
return;
|
||||||
|
|
||||||
const bool FULLSCREEN = pWindow->m_bIsFullscreen;
|
const bool FULLSCREEN = pWindow->m_bIsFullscreen;
|
||||||
const auto FULLSCREENMODE = getWorkspaceByID(pWindow->m_iWorkspaceID)->m_efFullscreenMode;
|
const auto FULLSCREENMODE = getWorkspaceByID(pWindow->m_iWorkspaceID)->m_efFullscreenMode;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue