From 586b02e7bd3499c8ef300fee7b723fbed19526dd Mon Sep 17 00:00:00 2001 From: Ricardo Vieira Date: Fri, 11 Apr 2014 19:40:37 +0100 Subject: wayland: don't schedule resize if going fullscreen mpv was resizing to the same size before it went to fullscreen, we don't need to schedule a resize because the compositor will send a configure event with the new dimensions and thats when we should do it. --- video/out/wayland_common.c | 1 - 1 file changed, 1 deletion(-) (limited to 'video') diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 086be41ea5..b60fa6fb0a 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1120,7 +1120,6 @@ int vo_wayland_control (struct vo *vo, int *events, int request, void *arg) return VO_TRUE; case VOCTRL_FULLSCREEN: vo_wayland_fullscreen(vo); - *events |= VO_EVENT_RESIZE; return VO_TRUE; case VOCTRL_ONTOP: vo_wayland_ontop(vo); -- cgit v1.2.3