summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2026-01-18 20:10:39 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2026-01-18 20:10:39 -0800
commit5e0511b18aa495ea84038f8f1c4f17167790bf84 (patch)
treefd3b1b0cc5523f32e13f423391d83121ee89d7d5 /main.lua
parent3eafac7b9f22cb45ccc9d89a62b9f34d554f4d96 (diff)
downloadmpv-iptv-menu-5e0511b18aa495ea84038f8f1c4f17167790bf84.tar.gz
mpv-iptv-menu-5e0511b18aa495ea84038f8f1c4f17167790bf84.tar.xz
fix cursor not being hidden when idle
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 054a525..481cb7d 100644
--- a/main.lua
+++ b/main.lua
@@ -1245,7 +1245,9 @@ local function set_key_bindings()
if binding_state.bound then
mp.remove_key_binding('mouse_move')
mp.remove_key_binding('unmapped')
- mp.command_native({'enable-section', 'default'})
+ mp.command_native({
+ 'enable-section', 'default',
+ 'allow-hide-cursor+allow-vo-dragging'})
binding_state.bound = false
end
return