summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-01-22 17:06:15 -0600
committerDudemanguy <random342@airmail.cc>2023-01-24 00:04:39 +0000
commit006ec9ce4357cd198955bc2e56caec34943db52d (patch)
tree427e571e77d9305b5afa12d2e4e0018d5b2b8433 /video/out/wayland_common.h
parent9b59d39a3ab64da0e9489ee4ce2062d4503e7cc5 (diff)
downloadmpv-006ec9ce4357cd198955bc2e56caec34943db52d.tar.bz2
mpv-006ec9ce4357cd198955bc2e56caec34943db52d.tar.xz
wayland: rewrite geometry and scaling handling
This is in preparation for fractional scaling support. Basically, redo all the coordinates in wayland so that wl->geometry is equal exactly to what is being put out to the screen (no extra wl->scaling multiplication required). The wl->vdparams variable is also eliminated for simplicity. This changes mpv's behavior on wayland with hidpi scaling but that will be addressed in more detail with the next commit.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r--video/out/wayland_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h
index 6672dab5c0..c073ae4250 100644
--- a/video/out/wayland_common.h
+++ b/video/out/wayland_common.h
@@ -48,7 +48,6 @@ struct vo_wayland_state {
/* Geometry */
struct mp_rect geometry;
- struct mp_rect vdparams;
struct mp_rect window_size;
struct wl_list output_list;
struct vo_wayland_output *current_output;