[PATCH 1/1] user32: Prioritize focus for dialog owner on EndDialog (resend).

Erich E. Hoover ehoover at mines.edu
Tue Nov 15 19:09:55 CST 2011


Real Name:
    Erich Hoover

Description:
    When a dialog that has an owner closes (EndDialog), the owner
should receive the focus even if that owner is disabled.  The normal
procedure for activating windows on a close
(WINPOS_ActivateOtherWindow) always skips disabled windows.  This
patch prioritizes giving the focus to the owning window so that the
owner receives focus when EndDialog is run (whether it is disabled or
not).  The patch also includes a test sequence demonstrating this
behavior.  In my original submission I neglected to mention that this
patch is meant to fix Bug #3023 (Orcad "Place Part" does not work).

Changelog:
    user32: Prioritize focus for dialog owner on EndDialog.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Prioritize-focus-for-dialog-owner-on-EndDialo.patch
Type: text/x-patch
Size: 4256 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111115/d7510a34/attachment.bin>


More information about the wine-patches mailing list