# HG changeset patch # User Goffi # Date 1580156229 -3600 # Node ID ae9059b791fe9f3ea7b08ade0d500980e1362da6 # Parent 3002704318e331a35ecd95dec3418a91a7bb696f core: fixed handling of M-n if other modifier (e.g. numlock) are present diff -r 3002704318e3 -r ae9059b791fe cagou/core/cagou_main.py --- a/cagou/core/cagou_main.py Mon Jan 27 21:17:09 2020 +0100 +++ b/cagou/core/cagou_main.py Mon Jan 27 21:17:09 2020 +0100 @@ -359,7 +359,7 @@ else: Window.fullscreen = False return True - elif key == 110 and modifier == ['alt']: + elif key == 110 and 'alt' in modifier: # M-n we hide/show notifications head = self.root.head_widget if head.height: