diff options
author | Ricardo Vieira <ricardo.vieira@tecnico.ulisboa.pt> | 2014-04-11 19:40:37 +0100 |
---|---|---|
committer | Alexander Preisinger <alexander.preisinger@gmail.com> | 2014-04-13 15:30:23 +0200 |
commit | 586b02e7bd3499c8ef300fee7b723fbed19526dd (patch) | |
tree | 69bf8db086879f5738f93ea4bc225fbd8f6d341a | |
parent | 62a483f18bb3c41dd4c4248531aba95f9ae24237 (diff) |
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.
-rw-r--r-- | video/out/wayland_common.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |