Be more strict.
svn path=/trunk/KDE/kdebase/workspace/; revision=1031996
This commit is contained in:
parent
e5d176b90b
commit
711879a993
1 changed files with 2 additions and 1 deletions
|
@ -2358,7 +2358,8 @@ bool Workspace::electricBorderEvent( XEvent* e )
|
|||
{
|
||||
if( e->type == EnterNotify )
|
||||
{
|
||||
if( movingClient && e->xcrossing.window == movingClient->moveResizeGrabWindow() )
|
||||
if( movingClient && movingClient->isElectricBorderMaximizing() &&
|
||||
e->xcrossing.window == movingClient->moveResizeGrabWindow() )
|
||||
{ // Cancel the quick tiling/maximization action when the user moves away from the edge.
|
||||
// This event isn't from the border window; it came from the grab window.
|
||||
movingClient->setElectricBorderMaximizing( false );
|
||||
|
|
Loading…
Reference in a new issue