diff options
author | Philip Langdale <philipl@overt.org> | 2019-11-26 07:52:53 +0800 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2019-11-29 16:56:20 +0800 |
commit | 4c179a27c2fe301d51232934275250b63275f86b (patch) | |
tree | bc62f95e3e1afd14548d4aa6f34e87e1493d7557 /video/out/wayland_common.h | |
parent | f09570664fd870cbd7403575c8f2a31e34d4c570 (diff) | |
download | mpv-4c179a27c2fe301d51232934275250b63275f86b.tar.bz2 mpv-4c179a27c2fe301d51232934275250b63275f86b.tar.xz |
wayland: add grab zone for resizing window with mouse
Today, we support resizing wayland windows when we detect a touch
event in a defined grab zone. As part of implementing
pseudo-decorations, we should have equivalent functionality for
mouse input. And if we detect support for actual decorations we
will not activate the grab zone as the decorations will provide this.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r-- | video/out/wayland_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h index f0c11e080a..2ca7d86a96 100644 --- a/video/out/wayland_common.h +++ b/video/out/wayland_common.h @@ -77,6 +77,8 @@ struct vo_wayland_state { int pending_vo_events; int mouse_x; int mouse_y; + int mouse_unscaled_x; + int mouse_unscaled_y; int scaling; int touch_entries; uint32_t pointer_id; |