diff options
| author | André Silva <123550+andresilva@users.noreply.github.com> | 2026-03-02 21:12:27 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-02 21:12:27 +0000 |
| commit | fe0a20213783a3dcedb4ad30e79e5a6cc9dc3d75 (patch) | |
| tree | dc802acd1b2de549d762a55a21d5c2c7694dd247 /src/desktop/view/Group.hpp | |
| parent | 75a815fbf28b73f3b9f9b9246ed3eb1fbd9b2a58 (diff) | |
desktop/group: respect direction when moving window out of group (#13490)
Diffstat (limited to 'src/desktop/view/Group.hpp')
| -rw-r--r-- | src/desktop/view/Group.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/desktop/view/Group.hpp b/src/desktop/view/Group.hpp index 8a7bb840..36c4baae 100644 --- a/src/desktop/view/Group.hpp +++ b/src/desktop/view/Group.hpp @@ -1,6 +1,7 @@ #pragma once #include "../DesktopTypes.hpp" +#include "../../helpers/math/Direction.hpp" #include <vector> @@ -17,7 +18,7 @@ namespace Desktop::View { bool has(PHLWINDOW w) const; void add(PHLWINDOW w); - void remove(PHLWINDOW w); + void remove(PHLWINDOW w, Math::eDirection dir = Math::DIRECTION_DEFAULT); void moveCurrent(bool next); void setCurrent(size_t idx); void setCurrent(PHLWINDOW w); |
