CID: 6200

svn path=/trunk/KDE/kdebase/workspace/; revision=951662
This commit is contained in:
Albert Astals Cid 2009-04-09 20:48:44 +00:00
parent f6c036cddb
commit 43f2a84f4e

View file

@ -234,7 +234,10 @@ void Workspace::raiseElectricBorderWindows()
if( electric_windows[ i ] != None )
windows[ pos++ ] = electric_windows[ i ];
if( !pos )
{
delete [] windows;
return; // No borders at all
}
XRaiseWindow( display(), windows[ 0 ] );
XRestackWindows( display(), windows, pos );
delete [] windows;