mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 14:29:48 +01:00
master: fix crash (#5472)
This commit is contained in:
parent
d657b59f70
commit
89f775aec2
1 changed files with 1 additions and 1 deletions
|
@ -726,7 +726,7 @@ void CHyprMasterLayout::resizeActiveWindow(const Vector2D& pixResize, eRectCorne
|
|||
static auto ALWAYSCENTER = CConfigValue<Hyprlang::INT>("master:always_center_master");
|
||||
static auto PSMARTRESIZING = CConfigValue<Hyprlang::INT>("master:smart_resizing");
|
||||
|
||||
eOrientation orientation = getDynamicOrientation(pWindow->m_pWorkspace);
|
||||
eOrientation orientation = getDynamicOrientation(PWINDOW->m_pWorkspace);
|
||||
bool centered = orientation == ORIENTATION_CENTER && (*ALWAYSCENTER == 1);
|
||||
double delta = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue