diff options
author | Ricardo Vieira <ricardo.vieira@tecnico.ulisboa.pt> | 2014-04-11 19:40:37 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-17 22:58:48 +0200 |
commit | 763a38f8891a9204e5826f5d7b5393e6cef03f47 (patch) | |
tree | 214ae8cfc0b9b74ea205bc335583d5a421294005 | |
parent | ed1e4de452c32610dba8263de243c0e4292bf1e4 (diff) | |
download | mpv-763a38f8891a9204e5826f5d7b5393e6cef03f47.tar.bz2 mpv-763a38f8891a9204e5826f5d7b5393e6cef03f47.tar.xz |
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 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); |