Don't allow quick tiling for windows that cannot be resized.
svn path=/trunk/KDE/kdebase/workspace/; revision=1072080
This commit is contained in:
parent
c8e9de08f6
commit
b90acadcc9
1 changed files with 2 additions and 2 deletions
|
@ -1455,7 +1455,7 @@ void Client::checkQuickTilingMaximizationZones( int xroot, int yroot )
|
||||||
setElectricBorderMaximizing( true );
|
setElectricBorderMaximizing( true );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if( options->electricBorderMaximize() &&
|
else if( options->electricBorderMaximize() &&
|
||||||
yroot <= screen->geom().y() + 5 && isMaximizable() )
|
yroot <= screen->geom().y() + 5 && isMaximizable() )
|
||||||
{
|
{
|
||||||
setElectricBorderMode( ElectricMaximizeMode );
|
setElectricBorderMode( ElectricMaximizeMode );
|
||||||
|
@ -1493,7 +1493,7 @@ bool Client::motionNotifyEvent( Window w, int /*state*/, int x, int y, int x_roo
|
||||||
if( !waitingMotionEvent() )
|
if( !waitingMotionEvent() )
|
||||||
{
|
{
|
||||||
handleMoveResize( x, y, x_root, y_root );
|
handleMoveResize( x, y, x_root, y_root );
|
||||||
if( isMove() )
|
if( isMove() && isResizable() )
|
||||||
checkQuickTilingMaximizationZones( x_root, y_root );
|
checkQuickTilingMaximizationZones( x_root, y_root );
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue