Commit c08e2d92 authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Updated window size after changing fullscreen state (msw).

It should improve the transition.
(cherry picked from commit bbe96d36)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent df6b7708
...@@ -631,7 +631,10 @@ int CommonControl(vout_display_t *vd, int query, va_list args) ...@@ -631,7 +631,10 @@ int CommonControl(vout_display_t *vd, int query, va_list args)
} }
case VOUT_DISPLAY_CHANGE_FULLSCREEN: { /* const vout_display_cfg_t *p_cfg */ case VOUT_DISPLAY_CHANGE_FULLSCREEN: { /* const vout_display_cfg_t *p_cfg */
const vout_display_cfg_t *cfg = va_arg(args, const vout_display_cfg_t *); const vout_display_cfg_t *cfg = va_arg(args, const vout_display_cfg_t *);
return CommonControlSetFullscreen(vd, cfg->is_fullscreen); if (CommonControlSetFullscreen(vd, cfg->is_fullscreen))
return VLC_EGENERIC;
UpdateRects(vd, NULL, NULL, false);
return VLC_SUCCESS;
} }
case VOUT_DISPLAY_RESET_PICTURES: case VOUT_DISPLAY_RESET_PICTURES:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment