layout: store and preserve size and pos after fullscreen (#13500)
ref https://github.com/hyprwm/Hyprland/discussions/13401
This commit is contained in:
parent
5f650f8ed9
commit
d98f7ffaf5
11 changed files with 124 additions and 0 deletions
|
|
@ -183,6 +183,11 @@ void CSpace::moveTargetInDirection(SP<ITarget> t, Math::eDirection dir, bool sil
|
|||
m_algorithm->moveTargetInDirection(t, dir, silent);
|
||||
}
|
||||
|
||||
void CSpace::setTargetGeom(const CBox& box, SP<ITarget> target) {
|
||||
if (m_algorithm)
|
||||
m_algorithm->setTargetGeom(box, target);
|
||||
}
|
||||
|
||||
SP<ITarget> CSpace::getNextCandidate(SP<ITarget> old) {
|
||||
return !m_algorithm ? nullptr : m_algorithm->getNextCandidate(old);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue