[gtk+/gtk-2-24-quartz] win32: Send initial configure
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24-quartz] win32: Send initial configure
- Date: Wed, 23 Nov 2011 22:59:22 +0000 (UTC)
commit 3fc979c7865556fd4d8a30eb5dfaddc19e4f9bb3
Author: Alexander Larsson <alexl redhat com>
Date: Tue Oct 25 16:39:42 2011 +0200
win32: Send initial configure
We need to send a configure event when a window is shown.
gdk/win32/gdkevents-win32.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
index e786ece..860f252 100644
--- a/gdk/win32/gdkevents-win32.c
+++ b/gdk/win32/gdkevents-win32.c
@@ -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) &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]