From e4c4ef679254b6407133333f9572442444709845 Mon Sep 17 00:00:00 2001 From: Roman Kudiyarov Date: Thu, 22 Jul 2010 13:51:37 +0700 Subject: [PATCH] Fixed incorrect size return in osx stage if stage resizable by user. For some reasons width&height was equal to 1 if flag user-resizable was true. --- clutter/osx/clutter-stage-osx.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/clutter/osx/clutter-stage-osx.c b/clutter/osx/clutter-stage-osx.c index b200c6f16..7115f2100 100644 --- a/clutter/osx/clutter-stage-osx.c +++ b/clutter/osx/clutter-stage-osx.c @@ -392,18 +392,8 @@ clutter_stage_osx_get_geometry (ClutterStageWindow *stage_window, } else { - resize = clutter_stage_get_user_resizable (self->wrapper); - - if (resize) - { - geometry->width = 1; - geometry->height = 1; - } - else - { geometry->width = self->requisition_width; geometry->height = self->requisition_height; - } } CLUTTER_OSX_POOL_RELEASE ();