summaryrefslogtreecommitdiff
path: root/src/layout/DwindleLayout.hpp
diff options
context:
space:
mode:
authorDaniel Adolfsson <daniel@ashen.se>2023-07-13 16:52:11 +0200
committerGitHub <noreply@github.com>2023-07-13 16:52:11 +0200
commitd3a644d81cede9bfa7c12ddc023b9ca2d69fca3c (patch)
tree30d1194e45cdc5ea29cd35332bd200ff20f5bf08 /src/layout/DwindleLayout.hpp
parent70dae78c1b5b17288a3e343b87ca6d10244ee937 (diff)
Dwindle: Make resize more intuitive (#2681)
* improved resize * clang-format * rewrite * almost legacy behavior when using CORNER_NONE
Diffstat (limited to 'src/layout/DwindleLayout.hpp')
-rw-r--r--src/layout/DwindleLayout.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/DwindleLayout.hpp b/src/layout/DwindleLayout.hpp
index ed7ddf86..efb3fc5d 100644
--- a/src/layout/DwindleLayout.hpp
+++ b/src/layout/DwindleLayout.hpp
@@ -55,7 +55,7 @@ class CHyprDwindleLayout : public IHyprLayout {
virtual void recalculateMonitor(const int&);
virtual void recalculateWindow(CWindow*);
virtual void onBeginDragWindow();
- virtual void resizeActiveWindow(const Vector2D&, CWindow* pWindow = nullptr);
+ virtual void resizeActiveWindow(const Vector2D&, eRectCorner corner = CORNER_NONE, CWindow* pWindow = nullptr);
virtual void fullscreenRequestForWindow(CWindow*, eFullscreenMode, bool);
virtual std::any layoutMessage(SLayoutMessageHeader, std::string);
virtual SWindowRenderLayoutHints requestRenderHints(CWindow*);