Commit 3c57c961 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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)
parent 79d45ab8
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
......
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
......
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
......
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
......
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
......
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
......
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment