2007-03-23 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/glx/clutter-stage-glx.c:
	(clutter_stage_glx_allocate_coords): Make sure the top-left
	corner of the box is our origin.
This commit is contained in:
Emmanuele Bassi
2007-03-23 16:37:56 +00:00
parent 810661f612
commit 064d45266a
4 changed files with 29 additions and 9 deletions

View File

@ -100,6 +100,16 @@ clutter_stage_delete_event (ClutterStage *stage,
return FALSE;
}
static void
clutter_stage_paint (ClutterActor *actor)
{
/* chain up */
CLUTTER_NOTE (PAINT, "Chaining up to parent class paint");
if (CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->paint)
CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->paint (actor);
}
static void
clutter_stage_set_property (GObject *object,
guint prop_id,
@ -185,11 +195,14 @@ static void
clutter_stage_class_init (ClutterStageClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
ClutterStageClass *stage_class = CLUTTER_STAGE_CLASS (klass);
gobject_class->set_property = clutter_stage_set_property;
gobject_class->get_property = clutter_stage_get_property;
actor_class->paint = clutter_stage_paint;
stage_class->delete_event = clutter_stage_delete_event;
/**