summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.hpp
diff options
context:
space:
mode:
authorJulian Schuler <31921487+julianschuler@users.noreply.github.com>2022-12-17 23:37:44 +0100
committerGitHub <noreply@github.com>2022-12-17 22:37:44 +0000
commit2daabfa0e981d8d2e33c068c9cc84ecb3cf2daa0 (patch)
tree02b4cdf3dfae7874fdb6f5893d46531a9b8ad6f6 /src/layout/IHyprLayout.hpp
parent0f3214714f237afcccb5d6a1bd3cdb5b26ddbcfb (diff)
Add 'exact' option for 'splitratio' (#1245)
* Simplify getPlusMinusKeywordResult() * Add an 'exact' option for 'splitratio'
Diffstat (limited to 'src/layout/IHyprLayout.hpp')
-rw-r--r--src/layout/IHyprLayout.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp
index a58783e4..1be26d2b 100644
--- a/src/layout/IHyprLayout.hpp
+++ b/src/layout/IHyprLayout.hpp
@@ -115,10 +115,10 @@ interface IHyprLayout {
virtual void switchWindows(CWindow*, CWindow*) = 0;
/*
- Called when the user requests to change the splitratio by X
+ Called when the user requests to change the splitratio by or to X
on a window
*/
- virtual void alterSplitRatioBy(CWindow*, float) = 0;
+ virtual void alterSplitRatio(CWindow*, float, bool exact = false) = 0;
/*
Called when something wants the current layout's name