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
icc-effect-5.14.5
Antonio Larrosa Jimenez 2000-10-16 22:01:16 +00:00
parent 26ee3808bd
commit d5ff78e16d
1 changed files with 2 additions and 0 deletions

View File

@ -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;