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.
This commit is contained in:
parent
411b5a09bb
commit
e4c4ef6792
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user