diff options
author | jaseg <code@jaseg.net> | 2017-08-20 23:10:51 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2017-08-20 23:12:20 +0200 |
commit | 1c6d74dd91d53294a00bc0246047119c1b47f879 (patch) | |
tree | 23e54ea565779744cc98173d022ccb3f9116c940 | |
parent | 13191bfeb912499d50cd87342527c458a3a58dd1 (diff) | |
download | python-mpv-1c6d74dd91d53294a00bc0246047119c1b47f879.tar.gz python-mpv-1c6d74dd91d53294a00bc0246047119c1b47f879.tar.bz2 python-mpv-1c6d74dd91d53294a00bc0246047119c1b47f879.zip |
Fix window dragging while using custom key bindings
closes #45
-rw-r--r-- | mpv.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -972,7 +972,7 @@ class MPV(object): self.command('define-section', binding_name, '{} {}'.format(keydef, callback_or_cmd), mode) else: raise TypeError('register_key_binding expects either an str with an mpv command or a python callable.') - self.command('enable-section', binding_name) + self.command('enable-section', binding_name, 'allow-hide-cursor+allow-vo-dragging') def _handle_key_binding_message(self, binding_name, key_state, key_name): self._key_binding_handlers[binding_name](key_state, key_name) |