Let's say this simply doesn't work with shaded windows.
svn path=/trunk/KDE/kdebase/kwin/; revision=425378
This commit is contained in:
parent
30cab17748
commit
8ee4a7df15
1 changed files with 4 additions and 4 deletions
|
@ -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 ));
|
||||
|
|
Loading…
Reference in a new issue