mpv/video/out
Dudemanguy 52bdeb07a1 x11: correct position coordinates if mpv was launched with --fs
If mpv is launched with --fs, the x11 code tries to reset the size and
position of the window when the fullscreen exits. This has bad behavior
with multiple monitors because the saved nofsrc is not reliable in many
situations. Particularly if the window manager moves the fullscreen
window somewhere else while mpv is fullscreen. The result will be that
exiting fullscreen always goes back to screen 0.

Fix this by translating the rc coordinates of the nofsrc rc to the new
monitor when we're leaving fullscreen from an initial --fs case. By
giving get_current_display a specific rc, we can return what xrandr
display the coordinates are associated with and decide if the nofsrc
should be translated to its new location. After that bit of math, the
usual move/resize logic takes care of the rest but this time it actually
works off of the correct position. Fixes #14226.
2024-05-29 13:39:20 +00:00
..
d3d11
gpu lcms: check for null arg in gl_parse_3dlut_size 2024-05-09 21:21:40 +02:00
gpu_next
hwdec hwdec_cuda_vk: add missing io.h include 2024-05-11 21:34:24 +02:00
mac cocoa-cb: add support for macOS color space transformation (EDR/HDR) 2024-05-05 19:02:50 +02:00
opengl various: move strings.h inclusion to common.h 2024-05-06 22:01:17 +02:00
placebo
vulkan vf_gpu: vulkan and egl implementations 2024-04-27 01:08:22 +02:00
win32 win32: make context menu items accessible from the window menu 2024-05-03 16:36:02 +02:00
wldmabuf
android_common.c
android_common.h
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift cocoa-cb: add support for macOS color space transformation (EDR/HDR) 2024-05-05 19:02:50 +02:00
dither.c
dither.h
dr_helper.c
dr_helper.h
drm_atomic.c various: fix indentation 2024-05-07 11:23:08 +02:00
drm_atomic.h
drm_common.c various: fix indentation 2024-05-07 11:23:08 +02:00
drm_common.h
drm_prime.c drm_prime: remove off by one when allocating new ref counter 2024-05-07 21:05:18 +02:00
drm_prime.h
filter_kernels.c
filter_kernels.h
libmpv.h
libmpv_sw.c
mac_common.swift mac: code cleanup and consistency changes, fix linting issues 2024-04-28 20:21:18 +02:00
meson.build
present_sync.c
present_sync.h
vo.c
vo.h
vo_caca.c
vo_direct3d.c
vo_dmabuf_wayland.c dmabuf: fix warnings on 320-bit build 2024-05-08 18:52:40 +02:00
vo_drm.c
vo_gpu.c
vo_gpu_next.c vo_gpu_next: check if existing cache file has correct size 2024-05-10 22:54:25 +02:00
vo_image.c
vo_kitty.c
vo_lavc.c
vo_libmpv.c
vo_mediacodec_embed.c
vo_null.c
vo_sdl.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
vo_sixel.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
vo_tct.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
vo_vaapi.c vo_vaapi: remove redundant function call 2024-05-28 21:29:07 +02:00
vo_vdpau.c
vo_wlshm.c
vo_x11.c
vo_xv.c various: fix indentation 2024-05-07 11:23:08 +02:00
w32_common.c various: fix indentation 2024-05-07 11:23:08 +02:00
w32_common.h
wayland_common.c wayland_common: ignore unknown key states 2024-05-24 17:57:55 +00:00
wayland_common.h
win_state.c
win_state.h
x11_common.c x11: correct position coordinates if mpv was launched with --fs 2024-05-29 13:39:20 +00:00
x11_common.h x11: correct position coordinates if mpv was launched with --fs 2024-05-29 13:39:20 +00:00