1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-31 15:59:34 +00:00
mpv/DOCS/man
Dudemanguy 8300830951 wayland: improve behavior with touch events
There's currently some touch related code in mpv wayland, but clearly
nobody actually uses because it's a broken mess. Initially an attempt to
distinguish between two finger touches and one finger touch was made,
but there's not a good way to make this work. For whatever reason,
initiating either xdg_toplevel_resize or xdg_toplevel_move blocks any
other touch events from occurring (at least in plasma). Trying to call
these functions anywhere else is not really useful since the serial will
be invalid outside of the touch down events (well it would work in the
touch up event but that's just silly).

Anyways, let's just make this work sanely. Eliminate the touch entries
variable completely because it's pointless. Only one finger event is
ever considered at a time. Touches besides the initial one are all
ignored. If a user touches and drags within the touch edge radius, then
a resize event occurs. If the user touches and drags elsewhere on the
window, a move event occurs. A single tap displays the osc (which is
clickable if you tap again). A double tap toggles fullscreen.
Additionally, the default touch edge radius of 64 pixels is way too big
(at least I think so). Cut this in half to 32 which feels a lot better
(on a pinephone using plasma mobile anyway).
2021-08-08 03:42:26 +00:00
..
af.rst audio: add scaletempo2 filter based on chromium 2020-07-27 00:57:22 +02:00
ao.rst ao_oss: add this audio output again 2021-03-15 12:42:35 +01:00
changes.rst manpage: directly link interface-changes.rst in changelog section 2020-02-21 14:34:02 +01:00
console.rst console: use wl-paste on Wayland 2020-12-14 22:43:34 +00:00
encode.rst
input.rst manpage: clarify window-scale behavior 2021-08-07 19:50:24 +00:00
ipc.rst scripting: make socket FD number for subprocesses dynamic 2020-05-15 16:37:41 +02:00
javascript.rst js: add mp.utils.append_file 2021-06-13 22:53:37 +03:00
libmpv.rst DOCS: fix cplugins information in libmpv.rst. 2021-02-12 23:25:08 +02:00
lua.rst DOCS/lua.rst: fix docs for utils.file_info 2021-05-03 13:25:21 +03:00
mpv.rst DOCS: fix manual compiling warnings 2021-07-28 13:56:27 +03:00
options.rst wayland: improve behavior with touch events 2021-08-08 03:42:26 +00:00
osc.rst DOCS: fix typo on seekbarkeyframes 2021-06-24 14:34:33 +00:00
stats.rst DOCS: fix manual compiling warnings 2021-07-28 13:56:27 +03:00
vf.rst docs: Fix an old style parameter reference 2021-01-20 01:15:36 +02:00
vo.rst manpage: rename OS X references to macOS 2021-01-03 12:05:30 -05:00