svn path=/trunk/KDE/kdebase/workspace/; revision=675860
This commit is contained in:
parent
d60952e7f0
commit
0c75e67ced
1 changed files with 3 additions and 0 deletions
|
@ -2299,6 +2299,9 @@ void Workspace::checkElectricBorder(const QPoint &pos, Time now)
|
||||||
else
|
else
|
||||||
abort();
|
abort();
|
||||||
|
|
||||||
|
if( electric_windows[ border ] == None )
|
||||||
|
return;
|
||||||
|
|
||||||
if ((electric_current_border == border) &&
|
if ((electric_current_border == border) &&
|
||||||
(timestampDiff(electric_time_last, now) < treshold_reset) &&
|
(timestampDiff(electric_time_last, now) < treshold_reset) &&
|
||||||
((pos-electric_push_point).manhattanLength() < distance_reset))
|
((pos-electric_push_point).manhattanLength() < distance_reset))
|
||||||
|
|
Loading…
Reference in a new issue