+2006-01-11 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.c (create_moveresize_window): Clean
+ up properly if the grab fails.
+ (finish_drag): Don't leak a reference to moveresize_window
+ here.
+
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkevents-x11.c: Fix string offsets.
+2006-01-11 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.c (create_moveresize_window): Clean
+ up properly if the grab fails.
+ (finish_drag): Don't leak a reference to moveresize_window
+ here.
+
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkevents-x11.c: Fix string offsets.
{
gdk_window_destroy (mv_resize->moveresize_emulation_window);
mv_resize->moveresize_emulation_window = NULL;
+ g_object_unref (mv_resize->moveresize_window);
mv_resize->moveresize_window = NULL;
if (mv_resize->moveresize_pending_event)
/* If this fails, some other client has grabbed the window
* already.
*/
- gdk_window_destroy (mv_resize->moveresize_emulation_window);
- mv_resize->moveresize_emulation_window = NULL;
+ finish_drag (mv_resize);
}
mv_resize->moveresize_process_time = 0;