From d2b2363d9345e74035e0585344d7150c4a62ef1c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 22 Nov 2025 20:39:15 +0900 Subject: twin: fix tiling of maximized windows. This resolves issue #675 Signed-off-by: Michele Calgaro --- twin/geometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twin/geometry.cpp b/twin/geometry.cpp index 6adad44fe..3e09d03ef 100644 --- a/twin/geometry.cpp +++ b/twin/geometry.cpp @@ -1915,12 +1915,12 @@ void Client::changeMaximize( bool vertical, bool horizontal, bool adjust ) TQRect clientArea = workspace()->clientArea( MaximizeArea, this ); // save sizes for restoring, if maximalizing - if( !activeTiled && !adjust && !( y() == clientArea.top() && height() == clientArea.height())) + if( !adjust && !( y() == clientArea.top() && height() == clientArea.height())) { geom_restore.setTop( y()); geom_restore.setHeight( height()); } - if( !activeTiled && !adjust && !( x() == clientArea.left() && width() == clientArea.width())) + if( !adjust && !( x() == clientArea.left() && width() == clientArea.width())) { geom_restore.setLeft( x()); geom_restore.setWidth( width()); -- cgit v1.2.3