Subject: bug#16594: 24.3.50; very slow redraw when resizing windows horizontally

From: Paul Eggert <[email-masked]>
Date: Mon, 03 Feb 2014 11:27:36 -0800

While we're waiting for more info, attached is another shot in the dark; 
does this work around the problem?

=== modified file 'src/atimer.c'
--- src/atimer.c	2014-01-01 07:43:34 +0000
+++ src/atimer.c	2014-02-03 19:16:53 +0000
@@ -340,9 +340,12 @@
 static void
 run_timers (void)
 {
-  struct timespec now = current_timespec ();
+  struct timespec now = make_timespec (TYPE_MINIMUM (time_t), -1);
 
-  while (atimers && timespec_cmp (atimers->expiration, now) <= 0)
+  while (atimers
+	 && (timespec_cmp (atimers->expiration, now) <= 0
+	     || (now = current_timespec (),
+		 timespec_cmp (atimers->expiration, now) <= 0)))
     {
       struct atimer *t = atimers;
       atimers = atimers->next;