GNOME Bugzilla – Bug 769438
ui: Add a keyboard shortcut to trigger fullscreen
Last modified: 2016-08-26 06:56:02 UTC
Ctrl+F is probably fine, it shouldn't clash with games and wont clash with the search bar as fullscreen and search will never be available at the same time.
Ctrl+F and F11, usually. We also use "raw" keys when there aren't any widgets on screen, so, at least when playing a "console" (eg. non-keyboard) game, I'd advise to also bind "F" as a way to toggle fullscreen, and Esc to switch fullscreen off.
> We also use "raw" keys when there aren't any widgets on screen In totem...
*** Bug 769816 has been marked as a duplicate of this bug. ***
Created attachment 334202 [details] [review] ui: Add ApplicationWindow.handle_collection_key_event() Add the handle_collection_key_event() method to ApplicationWindow to handle collection specific key bindings. This will help to make the code easier to read as more key bindings are going to be added in the next commit.
Created attachment 334203 [details] [review] ui: Add key bindings to toggle fullscreen Add the Ctrl+F and F11 key bindings to toggle fullscreen and add the Escape key binding to restore the window.
Attachment 334202 [details] pushed as 8d33278 - ui: Add ApplicationWindow.handle_collection_key_event() Attachment 334203 [details] pushed as 8c4416d - ui: Add key bindings to toggle fullscreen