svn path=/trunk/KDE/kdebase/workspace/; revision=675860

This commit is contained in:
Luboš Luňák 2007-06-15 10:37:34 +00:00
parent d60952e7f0
commit 0c75e67ced

View file

@ -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))