summaryrefslogtreecommitdiff
path: root/gdk/win32
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2011-10-26 11:41:35 +0200
committerAlexander Larsson <alexl@redhat.com>2011-11-10 17:41:03 +0100
commit820721500b4f215eebda1f2466bf4166922bfa1e (patch)
treedc4ac6a62bbb8bdc2652887e6cc1769c93810ea7 /gdk/win32
parent4690aa28d0c463fc07b845c08ed5e23e45f9df83 (diff)
downloadgtk+-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.c2
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)