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 5bd8485a3d
commit cd7fa0385c

View File

@ -2932,9 +2932,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) &&