Check "unshading" by unwanted geometry change during resizing too.
svn path=/trunk/kdebase/kwin/; revision=255419
This commit is contained in:
parent
74536fc72c
commit
7c751219d0
1 changed files with 8 additions and 0 deletions
|
@ -1060,7 +1060,15 @@ void Client::resize( int w, int h, UseGravity_t use_gravity, ForceGeometry_t for
|
||||||
if( !isShade())
|
if( !isShade())
|
||||||
client_size = QSize( w - border_left - border_right, h - border_top - border_bottom );
|
client_size = QSize( w - border_left - border_right, h - border_top - border_bottom );
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
// check that the frame is not resized to full size when it should be shaded
|
||||||
|
if( !shade_geometry_change && h != border_top + border_bottom )
|
||||||
|
{
|
||||||
|
kdDebug() << "h:" << h << ":t:" << border_top << ":b:" << border_bottom << endl;
|
||||||
|
assert( false );
|
||||||
|
}
|
||||||
client_size = QSize( w - border_left - border_right, client_size.height());
|
client_size = QSize( w - border_left - border_right, client_size.height());
|
||||||
|
}
|
||||||
updateWorkareaDiffs();
|
updateWorkareaDiffs();
|
||||||
if( block_geometry == 0 )
|
if( block_geometry == 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue