From d5ff78e16dd28a376c60f75949a47eb280c55a10 Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Jimenez Date: Mon, 16 Oct 2000 22:01:16 +0000 Subject: [PATCH] Fixes the automatic resizing of windows to a 10x10 rectangle when pressing Alt and clicking inside the window (just a click) svn path=/trunk/kdebase/kwin/; revision=68059 --- client.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.cpp b/client.cpp index 4c1f185d26..4666e816a2 100644 --- a/client.cpp +++ b/client.cpp @@ -2251,6 +2251,7 @@ bool Client::performMouseCommand( Options::MouseCommand command, QPoint globalPo break; mode = Center; moveResizeMode = TRUE; + geom=geometry(); if ( isMaximized() ) { // in case we were maximized, reset state max_mode = MaximizeRestore; @@ -2271,6 +2272,7 @@ bool Client::performMouseCommand( Options::MouseCommand command, QPoint globalPo if (!isMovable()) break; moveResizeMode = TRUE; + geom=geometry(); if ( isMaximized() ) { // in case we were maximized, reset state max_mode = MaximizeRestore;