Let's say this simply doesn't work with shaded windows.

svn path=/trunk/KDE/kdebase/kwin/; revision=425378
icc-effect-5.14.5
Luboš Luňák 2005-06-14 15:36:36 +00:00
parent 30cab17748
commit 8ee4a7df15
1 changed files with 4 additions and 4 deletions

View File

@ -567,7 +567,7 @@ void Workspace::slotWindowGrowHorizontal()
void Client::growHorizontal()
{
if( !isResizable())
if( !isResizable() || isShade())
return;
QRect geom = geometry();
geom.setRight( workspace()->packPositionRight( this, geom.right(), true ));
@ -593,7 +593,7 @@ void Workspace::slotWindowShrinkHorizontal()
void Client::shrinkHorizontal()
{
if( !isResizable())
if( !isResizable() || isShade())
return;
QRect geom = geometry();
geom.setRight( workspace()->packPositionLeft( this, geom.right(), false ));
@ -612,7 +612,7 @@ void Workspace::slotWindowGrowVertical()
void Client::growVertical()
{
if( !isResizable())
if( !isResizable() || isShade())
return;
QRect geom = geometry();
geom.setBottom( workspace()->packPositionDown( this, geom.bottom(), true ));
@ -638,7 +638,7 @@ void Workspace::slotWindowShrinkVertical()
void Client::shrinkVertical()
{
if( !isResizable())
if( !isResizable() || isShade())
return;
QRect geom = geometry();
geom.setBottom( workspace()->packPositionUp( this, geom.bottom(), false ));