From f38145ba81691d60f3a8e3198e4754359c8b8a55 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Mon, 10 Mar 2014 19:53:39 +0100 Subject: [PATCH] Revert last change to w32_read_socket. --- src/ChangeLog | 5 ----- src/w32term.c | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 62ad09eb4c..14c917a4e6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -4,11 +4,6 @@ with a slash: this fails the subsequent call to stat_worker on Windows 9X. Reported by oslsachem . -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 6ff9178bda..b77d01796d 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -4684,7 +4684,8 @@ w32_read_socket (struct terminal *terminal, { bool iconified = FRAME_ICONIFIED_P (f); - SET_FRAME_VISIBLE (f, 1); + if (iconified) + SET_FRAME_VISIBLE (f, 1); SET_FRAME_ICONIFIED (f, 0); /* wait_reading_process_output will notice this -- 2.20.1