• Eli Zaretskii's avatar
    Fix bug #11513 with raise-frame on MS-Windows. · 85d0efd1
    Eli Zaretskii authored
     src/w32term.c (my_bring_window_to_top): New function.
     (x_raise_frame): Use handle returned by DeferWindowPos, which
     could be different from the original one.  Call
     my_bring_window_to_top instead of my_set_foreground_window.
     src/w32fns.c (w32_wnd_proc): Accept and process WM_EMACS_BRINGTOTOP
     by calling BringWindowToTop.
     src/w32term.h (WM_EMACS_BRINGTOTOP): New message.
     (WM_EMACS_END): Increase by one.
    85d0efd1
w32term.h 23.3 KB