From 65a1852ba388bb17f03797abeceb6e78c37e3aab Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Tue, 2 Jun 2026 00:31:10 +0200 Subject: [PATCH] input.conf: bind right click to context menu --- DOCS/interface-changes/right-click-context-menu.txt | 1 + DOCS/man/mpv.rst | 2 +- etc/input.conf | 2 +- etc/restore-old-bindings.conf | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 DOCS/interface-changes/right-click-context-menu.txt diff --git a/DOCS/interface-changes/right-click-context-menu.txt b/DOCS/interface-changes/right-click-context-menu.txt new file mode 100644 index 0000000000..4d98506acd --- /dev/null +++ b/DOCS/interface-changes/right-click-context-menu.txt @@ -0,0 +1 @@ +bind right click to context menu diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index 7cf95c2abb..fe3421288c 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -393,7 +393,7 @@ Left double click Toggle fullscreen on/off. Right click - Toggle pause on/off. + Show the context menu (see `CONTEXT MENU`_). Forward/Back button Skip to next/previous entry in playlist. diff --git a/etc/input.conf b/etc/input.conf index 0b2fb46d4f..9519bdbe03 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -30,7 +30,7 @@ #MBTN_LEFT ignore # don't do anything #MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen -#MBTN_RIGHT cycle pause # toggle pause/playback mode +#MBTN_RIGHT script-binding select/context-menu # open context menu #MBTN_BACK playlist-prev # skip to the previous file #MBTN_FORWARD playlist-next # skip to the next file #Ctrl+MBTN_LEFT script-binding positioning/drag-to-pan # pan around the clicked point diff --git a/etc/restore-old-bindings.conf b/etc/restore-old-bindings.conf index 8cfd25cc46..c38633748e 100644 --- a/etc/restore-old-bindings.conf +++ b/etc/restore-old-bindings.conf @@ -11,6 +11,7 @@ # changed in mpv 0.42.0 +MBTN_RIGHT cycle pause MENU script-binding select/menu # changed in mpv 0.40.0