desktop/group: respect direction when moving window out of group (#13490)

This commit is contained in:
André Silva 2026-03-02 21:12:27 +00:00 committed by GitHub
parent 75a815fbf2
commit fe0a202137
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 78 additions and 10 deletions

View file

@ -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);