[stage] Set minimum width/height to 1x1
authorChris Lord <chris@linux.intel.com>
Sat, 6 Feb 2010 13:04:47 +0000 (14:04 +0100)
committerChris Lord <chris@linux.intel.com>
Sat, 6 Feb 2010 13:04:47 +0000 (14:04 +0100)
Whoops, to maintain the old behaviour, make sure the default minimum
width/height are 1x1.

clutter/clutter-stage.c

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