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;
|
break;
|
||||||
mode = Center;
|
mode = Center;
|
||||||
moveResizeMode = TRUE;
|
moveResizeMode = TRUE;
|
||||||
|
geom=geometry();
|
||||||
if ( isMaximized() ) {
|
if ( isMaximized() ) {
|
||||||
// in case we were maximized, reset state
|
// in case we were maximized, reset state
|
||||||
max_mode = MaximizeRestore;
|
max_mode = MaximizeRestore;
|
||||||
|
@ -2271,6 +2272,7 @@ bool Client::performMouseCommand( Options::MouseCommand command, QPoint globalPo
|
||||||
if (!isMovable())
|
if (!isMovable())
|
||||||
break;
|
break;
|
||||||
moveResizeMode = TRUE;
|
moveResizeMode = TRUE;
|
||||||
|
geom=geometry();
|
||||||
if ( isMaximized() ) {
|
if ( isMaximized() ) {
|
||||||
// in case we were maximized, reset state
|
// in case we were maximized, reset state
|
||||||
max_mode = MaximizeRestore;
|
max_mode = MaximizeRestore;
|
||||||
|
|
Loading…
Reference in a new issue