diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-03-29 00:43:50 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-03-29 00:43:50 +0000 |
| commit | fcd9d77b642c0cd45cae61cf10ed1924f2e7945b (patch) | |
| tree | 89390e51077b58973fb444327687ee279523499c /src/layout/MasterLayout.cpp | |
| parent | 2930c5cb6f5d71dbdfd4d396287f90e19cd41228 (diff) | |
layout: improve initial size prediction for floating
Diffstat (limited to 'src/layout/MasterLayout.cpp')
| -rw-r--r-- | src/layout/MasterLayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index 1c6be8d6..ea54b0e2 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -1435,7 +1435,7 @@ void CHyprMasterLayout::replaceWindowDataWith(CWindow* from, CWindow* to) { applyNodeDataToWindow(PNODE); } -Vector2D CHyprMasterLayout::predictSizeForNewWindow() { +Vector2D CHyprMasterLayout::predictSizeForNewWindowTiled() { static auto PNEWISMASTER = CConfigValue<Hyprlang::INT>("master:new_is_master"); if (!g_pCompositor->m_pLastMonitor) |
