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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user