aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeoff Voelker1996-01-21 00:57:52 +0000
committerGeoff Voelker1996-01-21 00:57:52 +0000
commit0f5449c1fc102c4f8582da5e49752cb0bc3a05b7 (patch)
treeeb1bb6d2877ba08d1d6fee3b1b1e162a3a2cc052 /src
parent3b304389aed770b55f3f21b8310ade8c4ec2a3eb (diff)
downloademacs-0f5449c1fc102c4f8582da5e49752cb0bc3a05b7.tar.gz
emacs-0f5449c1fc102c4f8582da5e49752cb0bc3a05b7.zip
(x_make_frame_visible): Explicitly make the frame
the selected frame.
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