* clutter/clutter-stage.c:
(clutter_stage_allocate): Minor optimization.
(clutter_stage_init): Do not set the minimum size of the
stage wrapper, and require that the backends set the size
themselves.
2008-06-25 Emmanuele Bassi <ebassi@openedhand.com>
+ * clutter/clutter-stage.c:
+ (clutter_stage_allocate): Minor optimization.
+
+ (clutter_stage_init): Do not set the minimum size of the
+ stage wrapper, and require that the backends set the size
+ themselves.
+
+2008-06-25 Emmanuele Bassi <ebassi@openedhand.com>
+
* clutter/eglnative/clutter-stage-egl.c:
(clutter_stage_egl_realize): Try to force the minimum and
natural size on realization.
* then we simply ignore any allocation request and override the
* allocation chain.
*/
- if (!clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC))
+ if (G_LIKELY (!clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC)))
{
ClutterActorClass *klass;
priv->fog.z_near = CLUTTER_FLOAT_TO_FIXED (1.0);
priv->fog.z_far = CLUTTER_FLOAT_TO_FIXED (2.0);
- clutter_actor_set_size (CLUTTER_ACTOR (self), 640, 480);
clutter_actor_set_reactive (CLUTTER_ACTOR (self), TRUE);
clutter_stage_set_key_focus (self, NULL);
}