summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorDavid Vaughan <david@davidv.xyz>2024-02-03 19:41:43 -0800
committerDudemanguy <random342@airmail.cc>2024-02-26 02:03:21 +0000
commita8a314b829498c55aed393d4bc7f4f7bf9e92362 (patch)
treec220248353f4a8c2f0feb74707bb4eb317653c14 /DOCS/man/options.rst
parent432256e5d2ccee8806023f03aea076f46d9cc9ea (diff)
downloadmpv-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.rst15
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.