win32: Send initial configure
We need to send a configure event when a window is shown.
This commit is contained in:
parent
36a28d616f
commit
8f50944904
@ -2738,9 +2738,10 @@ gdk_event_translate (MSG *msg,
|
|||||||
_gdk_win32_append_event (event);
|
_gdk_win32_append_event (event);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* New size or position => configure event */
|
/* Show, New size or position => configure event */
|
||||||
if (!(windowpos->flags & SWP_NOCLIENTMOVE) ||
|
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 &&
|
if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_CHILD &&
|
||||||
!IsIconic (msg->hwnd) &&
|
!IsIconic (msg->hwnd) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user