summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2014-03-10 11:31:13 +0100
committerMartin Rudalics <rudalics@gmx.at>2014-03-10 11:31:13 +0100
commitd988d8a475f3aaa5cfc3a7fdfd64e8dbc2e60d71 (patch)
tree46a60755ea5842874e466c946d09d2a8a2cc82b7
parent6f0f96e7560579af3e6932190e329c7bf84e62a2 (diff)
downloademacs-d988d8a475f3aaa5cfc3a7fdfd64e8dbc2e60d71.tar.gz
emacs-d988d8a475f3aaa5cfc3a7fdfd64e8dbc2e60d71.tar.bz2
emacs-d988d8a475f3aaa5cfc3a7fdfd64e8dbc2e60d71.zip
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.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/w32term.c3
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 <rudalics@gmx.at>
+
+ * w32term.c (w32_read_socket): In SIZE_RESTORED case
+ unconditionally set visibility of frame to 1.
+
2014-03-09 Martin Rudalics <rudalics@gmx.at>
* 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