mirror of
https://github.com/ItsDrike/hyprland-dwindle-autogroup.git
synced 2024-12-26 05:34:35 +00:00
Fix for latest hyprland (hyprlang migration)
This commit is contained in:
parent
151f4b88bc
commit
ef77c5db1f
|
@ -49,7 +49,8 @@ void moveIntoGroup(CWindow* pWindow, CWindow* pGroupHeadWindow)
|
||||||
{
|
{
|
||||||
const auto P_LAYOUT = g_pLayoutManager->getCurrentLayout();
|
const auto P_LAYOUT = g_pLayoutManager->getCurrentLayout();
|
||||||
|
|
||||||
const auto* USE_CURR_POS = &g_pConfigManager->getConfigValuePtr("misc:group_insert_after_current")->intValue;
|
const auto* USE_CURR_POS = (Hyprlang::INT* const*)g_pConfigManager->getConfigValuePtr("group:insert_after_current");
|
||||||
|
|
||||||
CWindow* pGroupWindow = *USE_CURR_POS ? pGroupHeadWindow : pGroupHeadWindow->getGroupTail();
|
CWindow* pGroupWindow = *USE_CURR_POS ? pGroupHeadWindow : pGroupHeadWindow->getGroupTail();
|
||||||
|
|
||||||
// Remove the window from layout (will become a part of a group)
|
// Remove the window from layout (will become a part of a group)
|
||||||
|
|
Loading…
Reference in a new issue