diff options
author | Dudemanguy <random342@airmail.cc> | 2020-02-12 12:26:24 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2020-02-13 20:28:59 +0000 |
commit | 83efdb5a01971bb93a4707dfcc1d2af3a48b2a4f (patch) | |
tree | 45d64974aced628a664af6ce58808f5b95076662 /video/out/d3d_shader_yuv.hlsl | |
parent | cc52a0340195b6062dbe7ec2c90c717d34101996 (diff) | |
download | mpv-83efdb5a01971bb93a4707dfcc1d2af3a48b2a4f.tar.bz2 mpv-83efdb5a01971bb93a4707dfcc1d2af3a48b2a4f.tar.xz |
wayland: make resizing better
Resizing the window while preserving the aspect ratio actually kind of
sucked. The window size could make big dramatic changes which was pretty
unintuitive with respect to where the mouse was actually located.
Instead, let's just do some math to ensure that the window size is
always contained inside the width/height reported by
handle_toplevel_config while preserving the aspect ratio. Fixes #7426.
Diffstat (limited to 'video/out/d3d_shader_yuv.hlsl')
0 files changed, 0 insertions, 0 deletions