[vlc-commits] Wayland: remove display-level resize events
Rémi Denis-Courmont
git at videolan.org
Thu Oct 16 19:26:03 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Oct 12 15:45:20 2014 +0300| [2669fb9b817537b0be5faf9e93ff7a0b4dc83880] | committer: Rémi Denis-Courmont
Wayland: remove display-level resize events
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2669fb9b817537b0be5faf9e93ff7a0b4dc83880
---
modules/video_output/wayland/shm.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/video_output/wayland/shm.c b/modules/video_output/wayland/shm.c
index 67bc359..889f12a 100644
--- a/modules/video_output/wayland/shm.c
+++ b/modules/video_output/wayland/shm.c
@@ -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))
{
- vout_display_SendEventDisplaySize(vd, cfg->display.width,
- cfg->display.height);
+ vout_window_SetSize(sys->embed,
+ cfg->display.width, cfg->display.height);
return VLC_EGENERIC;
}
@@ -490,8 +490,6 @@ static int Open(vlc_object_t *obj)
if (is_fullscreen && vout_window_SetFullScreen(sys->embed, true))
is_fullscreen = false;
vout_display_SendEventFullscreen(vd, is_fullscreen);
- vout_display_SendEventDisplaySize(vd, vd->cfg->display.width,
- vd->cfg->display.height);
return VLC_SUCCESS;
error:
More information about the vlc-commits
mailing list