diff options
| author | vaxerski <vaxry@vaxry.net> | 2024-02-28 11:45:43 +0000 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2024-02-28 11:45:43 +0000 |
| commit | f4f3aa2e505ca1b22688fb4a32f31c4bfb851dd0 (patch) | |
| tree | 98c8547e45a04445b24b2aa90b0a3e0d302a0cd6 /src/layout/MasterLayout.hpp | |
| parent | c198d744b77f272c2fc187eb6d431580a99ab6c3 (diff) | |
layout: add size prediction for initial xdg commits
fixes #4022
Diffstat (limited to 'src/layout/MasterLayout.hpp')
| -rw-r--r-- | src/layout/MasterLayout.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/MasterLayout.hpp b/src/layout/MasterLayout.hpp index e316556a..d48aefdc 100644 --- a/src/layout/MasterLayout.hpp +++ b/src/layout/MasterLayout.hpp @@ -65,6 +65,7 @@ class CHyprMasterLayout : public IHyprLayout { virtual void alterSplitRatio(CWindow*, float, bool); virtual std::string getLayoutName(); virtual void replaceWindowDataWith(CWindow* from, CWindow* to); + virtual Vector2D predictSizeForNewWindow(); virtual void onEnable(); virtual void onDisable(); |
