user32: A window is after a call to SetParent invisible when hwnd and newParent is equal (bug 21497)

Bernhard Übelacker bernhardu at vr-web.de
Thu Feb 4 13:54:02 CST 2010


Hello,
in SetParent the window (hwnd) get hidden by ShowWindow( hwnd, SW_HIDE ),
then a call to wineserver is done
and then the window is made visible again.

If this call to wineserver fails the window stays invisible.

This patch at least avoids this when hwnd and newParent is equal.
(If there are other cases this call could fail the window stays invisble.)

It could be observed in http://bugs.winehq.org/show_bug.cgi?id=21497

Kind regards
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-A-window-is-after-a-call-to-SetParent-invisib.patch
Type: text/x-diff
Size: 1706 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100204/cfcf416c/attachment.patch>


More information about the wine-patches mailing list