win32: Send initial configure

We need to send a configure event when a window is shown.
This commit is contained in:
Alexander Larsson 2011-10-25 16:39:42 +02:00
parent 36a28d616f
commit 8f50944904

View File

@ -2738,9 +2738,10 @@ gdk_event_translate (MSG *msg,
_gdk_win32_append_event (event);
}
/* New size or position => configure event */
/* Show, New size or position => configure event */
if (!(windowpos->flags & SWP_NOCLIENTMOVE) ||
!(windowpos->flags & SWP_NOCLIENTSIZE))
!(windowpos->flags & SWP_NOCLIENTSIZE) ||
(windowpos->flags & SWP_SHOWWINDOW))
{
if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_CHILD &&
!IsIconic (msg->hwnd) &&