[gtk+/gtk-2-24-quartz] win32: Use WM_NCDESTROY instead of WM_DESTROY



commit 2ec3493d7715e787c0ebb89dfb42c9f151294b80
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Oct 26 11:41:35 2011 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
index 383543c..c71ab08 100644
--- a/gdk/win32/gdkevents-win32.c
+++ b/gdk/win32/gdkevents-win32.c
@@ -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)
 	{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]