[gtk+] win32: Use WM_NCDESTROY instead of WM_DESTROY
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] win32: Use WM_NCDESTROY instead of WM_DESTROY
- Date: Thu, 10 Nov 2011 16:48:53 +0000 (UTC)
commit 820721500b4f215eebda1f2466bf4166922bfa1e
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 b99c03d..ea3d8fc 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]