From 5dd2272ef31e5b3894514b0c5f5db5a0b7dadc4f Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Sat, 28 Feb 2015 19:40:31 +0100 Subject: [PATCH] Set can_x_set_window_size and after_make_frame in terminal frames (Bug#19962) * frame.c (make_initial_frame, Fmake_terminal_frame): Set can_x_set_window_size and after_make_frame. (Bug#19962). --- src/ChangeLog | 5 +++++ src/frame.c | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 97ecbac0953..63ee7dffa21 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2015-02-28 Martin Rudalics + + * 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 * character.c (alphabeticp, decimalnump): New functions. diff --git a/src/frame.c b/src/frame.c index d82df0912b4..4a526e228f9 100644 --- a/src/frame.c +++ b/src/frame.c @@ -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; } -- 2.39.2