1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-24 00:46:58 +00:00
mpv/video/out
Dudemanguy 073fbd98ee wayland: actually handle 0x0 resizes correctly
According to the xdg-shell protocol spec, a 0x0 size from the compositor
means that "the client should decide its own window dimension". We were
not doing this correctly. What should happen is that mpv should simply
reuse the old window size if it is not maximized or fullscreened. This
should work on all (reasonably recent) versions of mutter and an
compositor that follows the spec.

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/stable/xdg-shell/xdg-shell.xml#L1050
2022-01-27 15:15:43 +00:00
..
cocoa
d3d11 vo_gpu: stop hard-coding max compute group threads 2021-12-19 01:51:54 +01:00
gpu vo_gpu: add HOOKED_gather 2022-01-15 10:27:21 +01:00
gpu_next vo_gpu_next: implement OpenGL context support 2021-11-22 18:08:56 +01:00
hwdec vo_gpu: hwdec_vaapi: avoid drm_fourcc.h dependency 2021-11-25 23:11:37 +01:00
mac mac: add support for display-width/display-height property 2021-05-06 17:36:55 +00:00
opengl vo_gpu: stop hard-coding max compute group threads 2021-12-19 01:51:54 +01:00
placebo vo_gpu: placebo: add missing gamma functions 2022-01-10 15:43:57 +01:00
vulkan vo_gpu: libplacebo: make version logging slightly clearer 2021-11-19 21:50:59 +01:00
win32
android_common.c
android_common.h
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift mac: fix traditional fullscreen on macOS 11 2021-02-27 13:12:46 +01:00
cocoa_common.h
cocoa_common.m
dither.c
dither.h
dr_helper.c
dr_helper.h
drm_atomic.c vo_drm: fix typo in error message 2021-08-26 20:35:13 +03:00
drm_atomic.h
drm_common.c context_drm_egl: add support for BGR surface formats 2021-11-10 09:57:58 -08:00
drm_common.h context_drm_egl: add support for BGR surface formats 2021-11-10 09:57:58 -08:00
drm_prime.c
drm_prime.h
filter_kernels.c filter_kernels: fix quadric window 2021-05-04 13:18:43 +02:00
filter_kernels.h
libmpv_sw.c
libmpv.h
vo_caca.c
vo_direct3d.c
vo_drm.c drm_common: enable specific device selection by means of path 2021-10-25 20:37:03 +02:00
vo_gpu_next.c vo_gpu_next: fix SUBBITMAP_BGRA 2022-01-11 23:45:08 +02:00
vo_gpu.c vo_gpu: lift ra_ctx_* opts to a global struct 2021-11-03 14:09:27 +01:00
vo_image.c
vo_lavc.c
vo_libmpv.c
vo_mediacodec_embed.c
vo_null.c
vo_rpi.c vo_rpi: fix DISPMANX_UPDATE_HANDLE_T leak 2021-09-28 16:46:52 +00:00
vo_sdl.c sub: rename SUBBITMAP_RGBA to SUBBITMAP_BGRA 2022-01-11 23:45:08 +02:00
vo_sixel.c vo_sixel: don't divide by zero on small terminal 2020-12-02 17:06:11 +02:00
vo_tct.c vo_tct: add resize capability 2021-08-26 11:29:07 -07:00
vo_vaapi.c
vo_vdpau.c sub: rename SUBBITMAP_RGBA to SUBBITMAP_BGRA 2022-01-11 23:45:08 +02:00
vo_wlshm.c vo_wlshm: remove empty options struct 2021-08-09 16:39:08 -05:00
vo_x11.c
vo_xv.c
vo.c options: remove always true m_obj_list::allow_unknown_entries 2021-11-15 14:02:08 +00:00
vo.h vo_gpu_next: implement VOCTRL_EXTERNAL_RESIZE 2021-12-19 01:44:52 +01:00
w32_common.c win32: initial position: center with borders 2021-09-06 10:16:10 +03:00
w32_common.h
wayland_common.c wayland: actually handle 0x0 resizes correctly 2022-01-27 15:15:43 +00:00
wayland_common.h wayland: remove bogus scale_change variable 2021-11-08 09:49:49 -06:00
win_state.c win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
win_state.h win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
x11_common.c x11: sanitize window title to UTF-8 for EWMH 2022-01-24 15:07:00 +00:00
x11_common.h x11: update geometry/autofit opts on runtime 2020-12-14 22:44:05 +00:00