Mercurial > emacs
changeset 14248:a66d4c3e8b1f
(x_make_frame_visible): Explicitly make the frame
the selected frame.
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Sun, 21 Jan 1996 00:57:52 +0000 |
parents | 63cada85e5fd |
children | 0d6508ed26a2 |
files | src/w32term.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Sun Jan 21 00:32:21 1996 +0000 +++ b/src/w32term.c Sun Jan 21 00:57:52 1996 +0000 @@ -3287,11 +3287,13 @@ if we get to x_make_frame_visible a second time before the window gets really visible. */ if (! FRAME_ICONIFIED_P (f) - && ! f->output_data.win32->asked_for_visible) - x_set_offset (f, f->output_data.win32->left_pos, f->output_data.win32->top_pos, 0); + && ! f->output_data.win32->asked_for_visible) { + x_set_offset (f, f->output_data.win32->left_pos, + f->output_data.win32->top_pos, 0); + SetForegroundWindow (FRAME_WIN32_WINDOW (f)); + } f->output_data.win32->asked_for_visible = 1; - ShowWindow (FRAME_WIN32_WINDOW (f), SW_SHOW); }