diff options
author | Alexander Larsson <alexl@redhat.com> | 2011-10-26 11:41:35 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2011-11-10 17:41:03 +0100 |
commit | 820721500b4f215eebda1f2466bf4166922bfa1e (patch) | |
tree | dc4ac6a62bbb8bdc2652887e6cc1769c93810ea7 /gdk/win32 | |
parent | 4690aa28d0c463fc07b845c08ed5e23e45f9df83 (diff) | |
download | gtk+-820721500b4f215eebda1f2466bf4166922bfa1e.tar.gz |
win32: Use WM_NCDESTROY instead of WM_DESTROY
WM_NCDESTROY gets called after children are destroyed, which is
the semantics DestroyNotify has in X11.
Diffstat (limited to 'gdk/win32')
-rw-r--r-- | gdk/win32/gdkevents-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index b99c03d992..ea3d8fce98 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -3118,7 +3118,7 @@ gdk_event_translate (MSG *msg, return_val = TRUE; break; - case WM_DESTROY: + case WM_NCDESTROY: if (pointer_grab != NULL) { if (pointer_grab->window == window) |