diff options
author | Dudemanguy <random342@airmail.cc> | 2024-02-13 17:11:00 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-02-24 20:31:08 +0000 |
commit | 17d9abd08fb77d3a33b4717b29257a27ee6bab47 (patch) | |
tree | 238213de708d052358456789d6dd0b43325e1749 /video/out/wayland_common.c | |
parent | a3648ddac8382e2144feec6485328c6e53ae0062 (diff) | |
download | mpv-17d9abd08fb77d3a33b4717b29257a27ee6bab47.tar.bz2 mpv-17d9abd08fb77d3a33b4717b29257a27ee6bab47.tar.xz |
player/command: handle runtime toggling of hidpi-window-scale
Wayland was the only backend that attempted this, but it can be done in
a centralized place for anything that supports this. hidpi-window-scale
is just the same as a normal window scale but with the OS DPI as the
factor.
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r-- | video/out/wayland_common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index a4802ccbc6..91148f3af1 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -2284,8 +2284,6 @@ int vo_wayland_control(struct vo *vo, int *events, int request, void *arg) set_input_region(wl, opts->cursor_passthrough); if (opt == &opts->fullscreen) toggle_fullscreen(wl); - if (opt == &opts->hidpi_window_scale) - set_geometry(wl, true); if (opt == &opts->window_maximized) toggle_maximized(wl); if (opt == &opts->window_minimized) |