[stage] Set minimum width/height to 1x1

Whoops, to maintain the old behaviour, make sure the default minimum
width/height are 1x1.
This commit is contained in:
Chris Lord 2010-02-06 14:04:47 +01:00
parent fd11d3098f
commit be11564b55

View File

@ -1181,8 +1181,8 @@ clutter_stage_init (ClutterStage *self)
priv->throttle_motion_events = TRUE; priv->throttle_motion_events = TRUE;
priv->color = default_stage_color; priv->color = default_stage_color;
priv->minimum_width = 640; priv->minimum_width = 1;
priv->minimum_height = 480; priv->minimum_height = 1;
priv->perspective.fovy = 60.0; /* 60 Degrees */ priv->perspective.fovy = 60.0; /* 60 Degrees */
priv->perspective.aspect = 1.0; priv->perspective.aspect = 1.0;