From 820721500b4f215eebda1f2466bf4166922bfa1e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 26 Oct 2011 11:41:35 +0200 Subject: win32: Use WM_NCDESTROY instead of WM_DESTROY WM_NCDESTROY gets called after children are destroyed, which is the semantics DestroyNotify has in X11. --- gdk/win32/gdkevents-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdk/win32') 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) -- cgit v1.2.1