mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-17 04:53:48 -07:00
@@ -186,7 +186,7 @@ bool IHyprLayout::onWindowCreatedAutoGroup(PHLWINDOW pWindow) {
|
|||||||
g_pCompositor->m_pLastWindow.lock() :
|
g_pCompositor->m_pLastWindow.lock() :
|
||||||
g_pCompositor->getFirstWindowOnWorkspace(pWindow->workspaceID());
|
g_pCompositor->getFirstWindowOnWorkspace(pWindow->workspaceID());
|
||||||
|
|
||||||
if ((*PAUTOGROUP || g_pInputManager->m_bWasDraggingWindow) // check if auto_group is enabled, or, if the user is manually dragging the window into the group.
|
if (*PAUTOGROUP // check if auto_group is enabled.
|
||||||
&& OPENINGON // check if OPENINGON exists.
|
&& OPENINGON // check if OPENINGON exists.
|
||||||
&& OPENINGON != pWindow // fixes a freeze when activating togglefloat to transform a floating group into a tiled group.
|
&& OPENINGON != pWindow // fixes a freeze when activating togglefloat to transform a floating group into a tiled group.
|
||||||
&& OPENINGON->m_sGroupData.pNextWindow.lock() // check if OPENINGON is a group
|
&& OPENINGON->m_sGroupData.pNextWindow.lock() // check if OPENINGON is a group
|
||||||
|
Reference in New Issue
Block a user