diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-22 20:39:15 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-22 20:39:15 +0900 |
| commit | d2b2363d9345e74035e0585344d7150c4a62ef1c (patch) | |
| tree | 391626628cc172ae8c6f6c8eb0c7b57de21ed553 /twin | |
| parent | 473f724fe4526612006d4ea5e0ccd563af4c14ff (diff) | |
| download | tdebase-master.tar.gz tdebase-master.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'twin')
| -rw-r--r-- | twin/geometry.cpp | 4 |
1 files 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()); |
