1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-30 15:29:56 +00:00
mpv/video/out
wm4 2a5b61244f x11: work around mutter fullscreen issue
If the video has the same size as the screen, starting with --fs and
then leaving fullscreen doesn't actually leave fullscreen.

The reason is that mpv tries to restore the previous window size if
necessary (otherwise, you'd end up with a Window of nearly the same size
as the screen with some WMs). It will typically restore with the
rectangle set exactly to the screen if no other position or size is
forced. This triggers pre-EWMH fullscreen mode, which WMs detect using
various heuristics.

Apparently we triggered this with mutter (but strangely no other WMs).
It's possible that pre-EWMH fullscreen mode actually requires removing
decorations, and mutter either ignores this. But this is speculation and
I haven't checked.

Work this around by reducing the requested size by 1 pixel if it
happens.

This was observed with mutter 3.18.2.

Fixes #2072.
2016-08-25 14:16:10 +02:00
..
cocoa cocoa: fix display refresh rate retrieval on multi monitor setups 2016-06-18 19:15:36 +02:00
opengl wayland_common: fix fullscreen image switching bug 2016-07-30 15:33:00 +02:00
wayland Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
win32 mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
aspect.c aspect: add --video-unscaled=downscale-big 2016-08-19 22:51:46 +02:00
aspect.h Update license headers 2015-04-13 12:10:01 +02:00
bitmap_packer.c bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
bitmap_packer.h bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
cocoa_common.h vo_opengl: cocoa: switch to new internal API 2015-10-01 22:42:25 +02:00
cocoa_common.m cocoa: remove unused icc profile variables 2016-07-21 08:48:45 +02:00
d3d_shader_420p.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_nv12.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_yuv.hlsl vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
dither.c Change GPL/LGPL dual-licensed files to LGPL 2016-01-19 18:36:34 +01:00
dither.h
drm_common.c build: silence -Wunused-result 2016-06-07 14:12:33 +02:00
drm_common.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
filter_kernels.c filter_kernels: improve the gaussian function 2016-01-07 12:17:34 +01:00
filter_kernels.h filter_kernels.h: adjust the license 2016-01-19 18:41:11 +01:00
vo_caca.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_direct3d.c vo_direct3d: add missing header 2016-08-14 21:51:59 +02:00
vo_drm.c vo_opengl: allow backends to provide callbacks for custom event loops 2016-07-20 20:42:30 +02:00
vo_image.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
vo_lavc.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vo_null.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_opengl_cb.c vo_opengl_cb: log better error message if OpenGL not initialized by user 2016-08-03 19:18:00 +02:00
vo_opengl.c vo_opengl: glctx can be NULL during init 2016-07-21 16:07:15 +02:00
vo_rpi.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vo_sdl.c vo_opengl: allow backends to provide callbacks for custom event loops 2016-07-20 20:42:30 +02:00
vo_vaapi.c x11: stop using vo.event_fd 2016-07-20 20:52:08 +02:00
vo_vdpau.c x11: stop using vo.event_fd 2016-07-20 20:52:08 +02:00
vo_wayland.c wayland_common: fix fullscreen image switching bug 2016-07-30 15:33:00 +02:00
vo_x11.c x11: stop using vo.event_fd 2016-07-20 20:52:08 +02:00
vo_xv.c x11: stop using vo.event_fd 2016-07-20 20:52:08 +02:00
vo.c vo: be more trusting to estimated display FPS 2016-08-20 18:15:17 +02:00
vo.h player: update Windows playback state asynchronously 2016-08-20 14:46:38 +02:00
w32_common.c w32_common: update window size on resize events 2016-08-07 19:33:20 +02:00
w32_common.h vo_direct3d: fix operation 2015-10-31 12:52:02 +01:00
wayland_common.c wayland_common: check for NULL current_output on fs switching 2016-08-01 22:16:40 +02:00
wayland_common.h wayland_common: remove untested/unusable wayland dnd code 2016-07-30 00:02:39 +02:00
win_state.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
win_state.h
x11_common.c x11: work around mutter fullscreen issue 2016-08-25 14:16:10 +02:00
x11_common.h x11: do not accidentally discard event flags 2016-07-25 11:28:06 +02:00
x11_icon.bin