diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-03-16 10:56:17 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-16 10:56:17 +0100 |
commit | 2ef375ac784985212b1805e1d0431dc8f1b3c171 (patch) | |
tree | 111499fa23d1a0f7b3412cdb91c997d702529cbb /qutebrowser/config/qtargs.py | |
parent | be696de793784132dc1b6e2aefee30e06bc09f6c (diff) | |
download | qutebrowser-2ef375ac784985212b1805e1d0431dc8f1b3c171.tar.gz qutebrowser-2ef375ac784985212b1805e1d0431dc8f1b3c171.zip |
Add input.media_keys setting
Diffstat (limited to 'qutebrowser/config/qtargs.py')
-rw-r--r-- | qutebrowser/config/qtargs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qutebrowser/config/qtargs.py b/qutebrowser/config/qtargs.py index 407ccb37e..d9564556a 100644 --- a/qutebrowser/config/qtargs.py +++ b/qutebrowser/config/qtargs.py @@ -157,6 +157,9 @@ def _qtwebengine_features( # WORKAROUND for https://bugreports.qt.io/browse/QTBUG-89740 disabled_features.append('InstalledApp') + if not config.val.input.media_keys: + disabled_features.append('HardwareMediaKeyHandling') + return (enabled_features, disabled_features) |