Subject: bug#19721: 25.0.50; Mode-line not redrawn with expose events

From: martin rudalics <[email-masked]>
Date: Sun, 01 Feb 2015 09:51:30 +0100

> If I apply both changes, mode-lines are redrawn when exposed, but some
 > of them are not updated with C-x o.

What happens when you do something trivial like

--- a/src/window.c
+++ b/src/window.c
@@ -524,6 +524,8 @@ select_window (Lisp_Object window, Lisp_Object norecord, int inhibit_point_swap)
        record_buffer (w->contents);
      }

+  w->update_mode_line = 1;
+
    return window;
  }

martin