/* If we do not control our window, we check for geometry changes
* ourselves because the parent might not send us its events. */
- if (sys->hparent && !vd->cfg->is_fullscreen) {
+ if (sys->hparent) {
RECT rect_parent;
POINT point;
{
/* If we do not control our window, we check for geometry changes
* ourselves because the parent might not send us its events. */
- if( p_vout->p_sys->hparent && !p_vout->b_fullscreen )
+ if( p_vout->p_sys->hparent )
{
RECT rect_parent;
POINT point;
p_vout->b_fullscreen = ! p_vout->b_fullscreen;
+ if( p_vout->p_sys->parent_window )
+ {
+ vout_window_SetFullScreen( p_vout->p_sys->parent_window,
+ p_vout->b_fullscreen );
+ return;
+ }
+
/* We want to go to Fullscreen */
if( p_vout->b_fullscreen )
{