* clutter/clutter-box.c: (clutter_box_pick):
Call clutter_box_paint rather than actor paint method avoiding
infinte loop (Fixes test-boxes crasher).
* clutter/glx/clutter-stage-glx.c: (clutter_stage_glx_unrealize):
Trap the X calls to avoid potential X errors.
+2007-07-06 Matthew Allum <mallum@openedhand.com>
+
+ * clutter/clutter-box.c: (clutter_box_pick):
+ Call clutter_box_paint rather than actor paint method avoiding
+ infinte loop (Fixes test-boxes crasher).
+
+ * clutter/glx/clutter-stage-glx.c: (clutter_stage_glx_unrealize):
+ Trap the X calls to avoid potential X errors.
+
2007-07-06 Ross Burton <ross@openedhand.com>
* tests/Makefile.am:
const ClutterColor *color)
{
/* just repaint; in the future we might enter in a "focused" status here */
- clutter_actor_paint (actor);
+ clutter_box_paint (actor);
}
static void
g_object_get (actor, "offscreen", &was_offscreen, NULL);
+ clutter_glx_trap_x_errors ();
+
if (G_UNLIKELY (was_offscreen))
{
if (stage_glx->glxpixmap)
glXDestroyContext (stage_glx->xdpy, stage_glx->gl_context);
stage_glx->gl_context = None;
}
+
+ XSync (stage_glx->xdpy, False);
+ clutter_glx_untrap_x_errors ();
}
static void