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
This commit is contained in:
parent
26ee3808bd
commit
d5ff78e16d
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue