]> git.eshelyaron.com Git - emacs.git/commit
Fix bug #11513 with raise-frame on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Mon, 28 May 2012 17:22:40 +0000 (20:22 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 28 May 2012 17:22:40 +0000 (20:22 +0300)
commit85d0efd175d95b4aa23d6eb22b8f8d18ed03ba75
tree195f2f5f8062ca238d977e8ebb60f4714d6a2190
parentc00ea352d81609789cc9e0a20effb1b6869ff284
Fix bug #11513 with raise-frame on MS-Windows.

 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.
src/ChangeLog
src/w32fns.c
src/w32term.c
src/w32term.h