# HG changeset patch # User Goffi # Date 1524912410 -7200 # Node ID e6ec8ff62d87611adb1bae0936af73ecbdc9bec7 # Parent 60b2b2bad747bcedaac753f0cbc0e54b89ff1f7f core: toggle fullscreen on F11 diff -r 60b2b2bad747 -r e6ec8ff62d87 cagou/core/cagou_main.py --- a/cagou/core/cagou_main.py Sat Apr 28 12:31:48 2018 +0200 +++ b/cagou/core/cagou_main.py Sat Apr 28 12:46:50 2018 +0200 @@ -281,6 +281,12 @@ # we disable [esc] handling, because default action is to quit app if key == 27: return True + elif key == 292: + if not Window.fullscreen: + window.fullscreen = 'auto' + else: + window.fullscreen = False + return True else: return False