[gtk+/gtk-2-24-win32] win32: Use WM_NCDESTROY instead of WM_DESTROY
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24-win32] win32: Use WM_NCDESTROY instead of WM_DESTROY
- Date: Wed, 26 Oct 2011 19:57:22 +0000 (UTC)
commit 9c575532fd1ad09b3acd35c36cf709c11dedc45b
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]