]> Pileus Git - ~andy/gtk/commitdiff
Properly clean up when handling events for move-resize emulation. (Problem
authorOwen Taylor <otaylor@redhat.com>
Thu, 12 Jul 2001 17:58:43 +0000 (17:58 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 12 Jul 2001 17:58:43 +0000 (17:58 +0000)
Thu Jul 12 13:53:28 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkevents-x11.c (gdk_event_translate): Properly
clean up when handling events for move-resize emulation.
(Problem traced down by Matthias Clasen, #57271)

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/x11/gdkevents-x11.c

index 237450473d0ffacbb19e39e51cdb2290972a4ff4..152ee095f512451866b7b46f1566ca584578cedb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jul 12 13:53:28 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Properly
+       clean up when handling events for move-resize emulation.
+       (Problem traced down by Matthias Clasen, #57271)
+
 Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
index 237450473d0ffacbb19e39e51cdb2290972a4ff4..152ee095f512451866b7b46f1566ca584578cedb 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 12 13:53:28 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Properly
+       clean up when handling events for move-resize emulation.
+       (Problem traced down by Matthias Clasen, #57271)
+
 Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
index 237450473d0ffacbb19e39e51cdb2290972a4ff4..152ee095f512451866b7b46f1566ca584578cedb 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 12 13:53:28 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Properly
+       clean up when handling events for move-resize emulation.
+       (Problem traced down by Matthias Clasen, #57271)
+
 Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
index 237450473d0ffacbb19e39e51cdb2290972a4ff4..152ee095f512451866b7b46f1566ca584578cedb 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 12 13:53:28 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Properly
+       clean up when handling events for move-resize emulation.
+       (Problem traced down by Matthias Clasen, #57271)
+
 Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
index 237450473d0ffacbb19e39e51cdb2290972a4ff4..152ee095f512451866b7b46f1566ca584578cedb 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 12 13:53:28 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Properly
+       clean up when handling events for move-resize emulation.
+       (Problem traced down by Matthias Clasen, #57271)
+
 Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
index 237450473d0ffacbb19e39e51cdb2290972a4ff4..152ee095f512451866b7b46f1566ca584578cedb 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 12 13:53:28 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Properly
+       clean up when handling events for move-resize emulation.
+       (Problem traced down by Matthias Clasen, #57271)
+
 Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
index 237450473d0ffacbb19e39e51cdb2290972a4ff4..152ee095f512451866b7b46f1566ca584578cedb 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 12 13:53:28 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Properly
+       clean up when handling events for move-resize emulation.
+       (Problem traced down by Matthias Clasen, #57271)
+
 Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
index 5ca9d91952570c433a93d04aec44edbe0db16370..593c8d720c7e4cf8f181cfb574430f7201cc7a2f 100644 (file)
@@ -541,7 +541,10 @@ gdk_event_translate (GdkEvent *event,
        * it as a foreign window
        */
       if (window == NULL)
-        return FALSE;
+       {
+         return_val = FALSE;
+         goto done;
+       }
     }
 
   if (window &&
@@ -550,8 +553,9 @@ gdk_event_translate (GdkEvent *event,
        xevent->xany.type == ButtonRelease))
     {
       _gdk_moveresize_handle_event (xevent);
-      gdk_window_unref (window);
-      return FALSE;
+      
+      return_val = FALSE;
+      goto done;
     }
   
   /* We do a "manual" conversion of the XEvent to a