aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/w32term.c b/src/w32term.c
index bdb764feb8d..e3afeb97094 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -3287,11 +3287,13 @@ x_make_frame_visible (f)
3287 if we get to x_make_frame_visible a second time 3287 if we get to x_make_frame_visible a second time
3288 before the window gets really visible. */ 3288 before the window gets really visible. */
3289 if (! FRAME_ICONIFIED_P (f) 3289 if (! FRAME_ICONIFIED_P (f)
3290 && ! f->output_data.win32->asked_for_visible) 3290 && ! f->output_data.win32->asked_for_visible) {
3291 x_set_offset (f, f->output_data.win32->left_pos, f->output_data.win32->top_pos, 0); 3291 x_set_offset (f, f->output_data.win32->left_pos,
3292 f->output_data.win32->top_pos, 0);
3293 SetForegroundWindow (FRAME_WIN32_WINDOW (f));
3294 }
3292 3295
3293 f->output_data.win32->asked_for_visible = 1; 3296 f->output_data.win32->asked_for_visible = 1;
3294
3295 ShowWindow (FRAME_WIN32_WINDOW (f), SW_SHOW); 3297 ShowWindow (FRAME_WIN32_WINDOW (f), SW_SHOW);
3296 } 3298 }
3297 3299