From d98f7ffaf5ce8fcfe901e4cdcb3dc0d1a5f48816 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Mon, 2 Mar 2026 18:57:09 +0000 Subject: layout: store and preserve size and pos after fullscreen (#13500) ref https://github.com/hyprwm/Hyprland/discussions/13401 --- src/layout/algorithm/FloatingAlgorithm.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/layout/algorithm/FloatingAlgorithm.hpp') diff --git a/src/layout/algorithm/FloatingAlgorithm.hpp b/src/layout/algorithm/FloatingAlgorithm.hpp index 2c9ff14b..40e53034 100644 --- a/src/layout/algorithm/FloatingAlgorithm.hpp +++ b/src/layout/algorithm/FloatingAlgorithm.hpp @@ -17,6 +17,9 @@ namespace Layout { // a target is being moved by a delta virtual void moveTarget(const Vector2D& Δ, SP target) = 0; + // a target is moved to a pos x size + virtual void setTargetGeom(const CBox& geom, SP target) = 0; + virtual void recenter(SP t); virtual void recalculate(); -- cgit v1.2.3