Properly clean up when handling events for move-resize emulation. (Problem
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)
This commit is contained in:
		@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user