diff --git a/doc/BUGS b/doc/BUGS index 663d4adc9..d3a95ebaa 100644 --- a/doc/BUGS +++ b/doc/BUGS @@ -54,8 +54,6 @@ Bugs - restart sometimes abort()s on QApplication __init__ (V155) -- Super key shows up as ៀ\udc53 in logs - - Funky font rendering with tewi: http://a.pomf.se/ecgzlx.png diff --git a/qutebrowser/keyinput/basekeyparser.py b/qutebrowser/keyinput/basekeyparser.py index 5fe6dcf1e..230910e35 100644 --- a/qutebrowser/keyinput/basekeyparser.py +++ b/qutebrowser/keyinput/basekeyparser.py @@ -141,7 +141,10 @@ class BaseKeyParser(QObject): Qt.MetaModifier: 'Meta', Qt.ShiftModifier: 'Shift' } - if e.key() in (Qt.Key_Control, Qt.Key_Alt, Qt.Key_Shift, Qt.Key_Meta): + modifiers = (Qt.Key_Control, Qt.Key_Alt, Qt.Key_Shift, Qt.Key_Meta, + Qt.Key_AltGr, Qt.Key_Super_L, Qt.Key_Super_R, + Qt.Key_Hyper_L, Qt.Key_Hyper_R) + if e.key() in modifiers: # Only modifier pressed return False mod = e.modifiers()