diff options
author | David Vaughan <david@davidv.xyz> | 2024-02-03 19:41:43 -0800 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-02-26 02:03:21 +0000 |
commit | a8a314b829498c55aed393d4bc7f4f7bf9e92362 (patch) | |
tree | c220248353f4a8c2f0feb74707bb4eb317653c14 /DOCS/man/options.rst | |
parent | 432256e5d2ccee8806023f03aea076f46d9cc9ea (diff) | |
download | mpv-a8a314b829498c55aed393d4bc7f4f7bf9e92362.tar.bz2 mpv-a8a314b829498c55aed393d4bc7f4f7bf9e92362.tar.xz |
input: add insert-next support for drag-and-drop
This commit adds a DND_INSERT_NEXT action option for drag-and-drop,
allows for selecting it through the --drag-and-drop=insert-next option,
and adds the necessary plumbing to make that happen when something is
dragged onto the player.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r-- | DOCS/man/options.rst | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 39a075e74c..3dcdc4eba4 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -3197,13 +3197,14 @@ Window ``--snap-window`` (Windows only) Snap the player window to screen edges. -``--drag-and-drop=<no|auto|replace|append>`` - Controls the default behavior of drag and drop on platforms that support this. - ``auto`` will obey what the underlying os/platform gives mpv. Typically, holding - shift during the drag and drop will append the item to the playlist. Otherwise, - it will completely replace it. ``replace`` and ``append`` always force replacing - and appending to the playlist respectively. ``no`` disables all drag and drop - behavior. +``--drag-and-drop=<no|auto|replace|append|insert-next>`` + Controls the default behavior of drag and drop on platforms that support + this. ``auto`` will obey what the underlying os/platform gives mpv. + Typically, holding shift during the drag and drop will append the item to + the playlist. Otherwise, it will completely replace it. ``replace``, + ``append``, and ``insert-next`` always force replacing, appending to, and + inserting next into the playlist respectively. ``no`` disables all drag and + drop behavior. ``--ontop`` Makes the player window stay on top of other windows. |