win32: Use WM_NCDESTROY instead of WM_DESTROY

WM_NCDESTROY gets called after children are destroyed, which is
the semantics DestroyNotify has in X11.
This commit is contained in:
Alexander Larsson 2011-10-26 11:41:35 +02:00
parent 9da34d0ec5
commit 9c575532fd

View File

@ -3312,7 +3312,7 @@ gdk_event_translate (MSG *msg,
return_val = TRUE;
break;
case WM_DESTROY:
case WM_NCDESTROY:
grab = _gdk_display_get_last_pointer_grab (_gdk_display);
if (grab != NULL)
{