GNOME Bugzilla – Bug 690836
clutter_stage_set_fullscreen on a win32 stage does not function correctly
Last modified: 2013-01-16 22:57:59 UTC
Created attachment 232351 [details] [review] Fix fullscreen on win32 stage When setting a win32 stage to fullscreen the window title bar is not removed. I think this is caused by the fact that get_window_style in clutter-stage-win32.c refers to _clutter_stage_is_fullscreen. Inside clutter_stage_win32_set_fullscreen the value of _clutter_stage_is_fullscreen refers to the old (current) value of the stage's fullscreen flag instead of the new value, which is only updated at the end of the function. Attached patch fixes the problem for me, but maybe there's a better solution for this.
Review of attachment 232351 [details] [review]: thanks for the patch. it looks good to me, apart from a small coding style nitpick that should be fixed before committing. ::: clutter/win32/clutter-stage-win32.c @@ +290,3 @@ + + return get_requested_window_style (stage_win32, + _clutter_stage_is_fullscreen (wrapper)); the coding style is wrong: _clutter_stage_is_fullscreen() should be vertically aligned with the stage_win32 argument.
thanks for the patch; pushed to the master and clutter-1.14 branches.