From e8da27f39999f2848d57ab8eccbfca2cce9b9023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 10 Oct 2003 12:55:43 +0000 Subject: [PATCH] Fix #65462. svn path=/trunk/kdebase/kwin/; revision=257720 --- geometry.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/geometry.cpp b/geometry.cpp index 1ab449d9d6..3904df4c73 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -746,7 +746,7 @@ void Client::getWmNormalHints() if( isManaged()) { // update to match restrictions QSize new_size = adjustedSize( size()); - if( new_size != size()) + if( new_size != size() && !isShade()) // SHADE resizeWithChecks( new_size ); } updateAllowedActions(); // affects isResizeable() @@ -847,9 +847,6 @@ void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, i gravity = xSizeHint.win_gravity; if( value_mask & ( CWX | CWY )) { - if ( isShade()) // SELI SHADE - setShade( ShadeNone ); - QPoint new_pos = calculateGravitation( true, gravity ); // undo gravitation if ( value_mask & CWX ) new_pos.setX( rx ); @@ -894,6 +891,9 @@ void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, i if ( value_mask & (CWWidth | CWHeight ) && ! ( value_mask & ( CWX | CWY )) ) // pure resize { + if ( isShade()) // SELI SHADE + setShade( ShadeNone ); + int nw = clientSize().width(); int nh = clientSize().height(); if ( value_mask & CWWidth )