From 763a38f8891a9204e5826f5d7b5393e6cef03f47 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(-) diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index b0121d8ec7..fe2b872d85 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -960,7 +960,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