]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/113-urgent.t
Use gettimeofday() and struct timevals instead of time()
[i3/i3] / testcases / t / 113-urgent.t
index 9c3dbab61635763c28467ce108aaf46c45aebe58..04f72c3d8319945422d0f455d043d08b6a8f3c8a 100644 (file)
@@ -95,10 +95,6 @@ is($x->input_focus, $different_window->id, 'new window focused again');
 $top->add_hint('urgency');
 sync_with_i3;
 
-# Unfortunately, we cannot get rid of this delay. We need it because i3 stores
-# the time of an urgency hint with second precision.
-sleep 1;
-
 $bottom->add_hint('urgency');
 sync_with_i3;
 
@@ -123,10 +119,6 @@ is($x->input_focus, $different_window->id, 'new window focused again');
 $top->add_hint('urgency');
 sync_with_i3;
 
-# Unfortunately, we cannot get rid of this delay. We need it because i3 stores
-# the time of an urgency hint with second precision.
-sleep 1;
-
 $bottom->add_hint('urgency');
 sync_with_i3;