Commit 2669fb9b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Wayland: remove display-level resize events

parent b4190d91
...@@ -307,8 +307,8 @@ static int Control(vout_display_t *vd, int query, va_list ap) ...@@ -307,8 +307,8 @@ static int Control(vout_display_t *vd, int query, va_list ap)
if (query == VOUT_DISPLAY_CHANGE_DISPLAY_SIZE && va_arg(ap, int)) if (query == VOUT_DISPLAY_CHANGE_DISPLAY_SIZE && va_arg(ap, int))
{ {
vout_display_SendEventDisplaySize(vd, cfg->display.width, vout_window_SetSize(sys->embed,
cfg->display.height); cfg->display.width, cfg->display.height);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -490,8 +490,6 @@ static int Open(vlc_object_t *obj) ...@@ -490,8 +490,6 @@ static int Open(vlc_object_t *obj)
if (is_fullscreen && vout_window_SetFullScreen(sys->embed, true)) if (is_fullscreen && vout_window_SetFullScreen(sys->embed, true))
is_fullscreen = false; is_fullscreen = false;
vout_display_SendEventFullscreen(vd, is_fullscreen); vout_display_SendEventFullscreen(vd, is_fullscreen);
vout_display_SendEventDisplaySize(vd, vd->cfg->display.width,
vd->cfg->display.height);
return VLC_SUCCESS; return VLC_SUCCESS;
error: error:
......
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