mpv/video
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
..
decode player/command: add video-codec-info and audio-codec-info 2024-04-15 19:34:40 +02:00
filter vf_vapoursynth: pass image properties from input 2024-05-12 17:56:53 +02:00
out x11: correct position coordinates if mpv was launched with --fs 2024-05-29 13:39:20 +00:00
csputils.c csputils: add missing PL_COLOR_SYSTEM names 2024-03-09 05:58:52 +00:00
csputils.h
cuda.c
d3d.c
d3d.h
drmprime.c
fmt-conversion.c video: don't define IMGFMT_VULKAN conditionally 2024-02-26 17:37:20 +01:00
fmt-conversion.h
hwdec.c
hwdec.h
image_loader.c
image_loader.h
image_writer.c various: fix comma style 2024-05-07 11:23:08 +02:00
image_writer.h image_writer: fix TOCTOU in screenshot filename generation 2024-03-19 19:30:27 +01:00
img_format.c
img_format.h video: don't define IMGFMT_VULKAN conditionally 2024-02-26 17:37:20 +01:00
mp_image.c mp_image: remove unneeded PL_HAVE_LIBDOVI check 2024-05-21 11:23:29 +02:00
mp_image.h mp_image: add Dolby Vision metadata mapping 2024-03-09 05:58:52 +00:00
mp_image_pool.c
mp_image_pool.h
repack.c repack: add restrict qualifier to src/dst pointers 2024-03-19 13:04:05 +01:00
repack.h
sws_utils.c
sws_utils.h
vaapi.c various: avoid function pointer casts 2024-02-28 16:04:02 +00:00
vaapi.h
vdpau.c
vdpau.h
vdpau_functions.inc
vdpau_mixer.c mp_image: add mp_image_params_static_equal for finer comparision 2024-03-09 05:58:52 +00:00
vdpau_mixer.h
zimg.c
zimg.h