]> code.delx.au - gnu-emacs/blobdiff - src/dispnew.c
(xframe): Print frame name.
[gnu-emacs] / src / dispnew.c
index ff7758c7538660cdd6621e709a33a99325bb061f..da5e9c6e3986aafda51a50ea2f8349bac1ed4e35 100644 (file)
@@ -4156,7 +4156,6 @@ update_window (w, force_p)
          update_window_line (w, MATRIX_ROW_VPOS (mode_line_row,
                                                  desired_matrix),
                              &mouse_face_overwritten_p);
-         changed_p = 1;
        }
 
       /* Find first enabled row.  Optimizations in redisplay_internal
@@ -4226,7 +4225,6 @@ update_window (w, force_p)
        {
          header_line_row->y = 0;
          update_window_line (w, 0, &mouse_face_overwritten_p);
-         changed_p = 1;
        }
 
       /* Fix the appearance of overlapping/overlapped rows.  */
@@ -6654,7 +6652,7 @@ init_display ()
      try to use X, and die with an error message if that doesn't work.  */
 
 #ifdef HAVE_X_WINDOWS
-  if (! display_arg)
+  if (! inhibit_window_system && ! display_arg)
     {
       char *display;
 #ifdef VMS