From d988d8a475f3aaa5cfc3a7fdfd64e8dbc2e60d71 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Mon, 10 Mar 2014 11:31:13 +0100 Subject: [PATCH] Unconditionally set visibility to 1 when restoring frame size (Bug#16967). * w32term.c (w32_read_socket): In SIZE_RESTORED case unconditionally set visibility of frame to 1. --- src/ChangeLog | 5 +++++ src/w32term.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index af8cd0e492b..c383aeaa0a0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-03-10 Martin Rudalics + + * w32term.c (w32_read_socket): In SIZE_RESTORED case + unconditionally set visibility of frame to 1. + 2014-03-09 Martin Rudalics * xdisp.c (Fwindow_text_pixel_size): Adjust doc-string. diff --git a/src/w32term.c b/src/w32term.c index b77d01796d7..6ff9178bda7 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -4684,8 +4684,7 @@ w32_read_socket (struct terminal *terminal, { bool iconified = FRAME_ICONIFIED_P (f); - if (iconified) - SET_FRAME_VISIBLE (f, 1); + SET_FRAME_VISIBLE (f, 1); SET_FRAME_ICONIFIED (f, 0); /* wait_reading_process_output will notice this -- 2.39.2