mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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.
This commit is contained in:
parent
72bdcccf26
commit
8a51236858
@ -1,3 +1,12 @@
|
||||
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:
|
||||
|
@ -164,7 +164,7 @@ clutter_stage_allocate (ClutterActor *self,
|
||||
* 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;
|
||||
|
||||
@ -718,7 +718,6 @@ clutter_stage_init (ClutterStage *self)
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user