]> code.delx.au - gnu-emacs/commitdiff
Set can_x_set_window_size and after_make_frame in terminal frames (Bug#19962)
authorMartin Rudalics <rudalics@gmx.at>
Sat, 28 Feb 2015 18:40:31 +0000 (19:40 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 28 Feb 2015 18:40:31 +0000 (19:40 +0100)
* frame.c (make_initial_frame, Fmake_terminal_frame): Set
can_x_set_window_size and after_make_frame. (Bug#19962).

src/ChangeLog
src/frame.c

index 97ecbac0953a9a657ec999c4486f5469818c54ae..63ee7dffa21c0d3c2161151182555c4e9d29e720 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-28  Martin Rudalics  <rudalics@gmx.at>
+
+       * frame.c (make_initial_frame, Fmake_terminal_frame): Set
+       can_x_set_window_size and after_make_frame (Bug#19962).
+
 2015-02-28  Eli Zaretskii  <eliz@gnu.org>
 
        * character.c (alphabeticp, decimalnump): New functions.
index d82df0912b4bf6ce357a15689e29338b8904e856..4a526e228f95772abfaaee3a61112db71710460b 100644 (file)
@@ -871,6 +871,9 @@ make_initial_frame (void)
 
   last_nonminibuf_frame = f;
 
+  f->can_x_set_window_size = true;
+  f->after_make_frame = true;
+
   return f;
 }
 
@@ -1064,6 +1067,10 @@ affects all frames on the same terminal device.  */)
      be copied as well.  */
   for (tem = f->face_alist; CONSP (tem); tem = XCDR (tem))
     XSETCDR (XCAR (tem), Fcopy_sequence (XCDR (XCAR (tem))));
+
+  f->can_x_set_window_size = true;
+  f->after_make_frame = true;
+
   return frame;
 }