-
-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor fullscreen and maximized window logic.
The new foreign interface architecture handles the state of the relevant window slots (fullscreen-p, maximized-p) instead of setf-ing them on the renderer packages. This replaces the need for the :skip-renderer-resize keyword. Fixed bug in toggle-message-buffer, where the height of the buffer was being probed incorrectly. Refactor the handling of the window-state-event in GTK. It didn't account for events where the window is no longer fullscreen or maximized. Simplify implementation of toggle-fullscreen, toggle-maximize, toggle-status-buffer and toggle-message-buffer. As for the fullscreen rationale regarding the UI: when a fullscreen event is emitted by JS's Fullscreen API, the status and message buffers are hidden. For all other fullscreen events, the status and message buffers are kept. Note that we can't hide the message buffer on fullscreen since then there would be no way to get that important piece of information. On typical browsers, the equivalent of the message buffer is a dynamically visible toolbar at the bottom left (and it is still displayed on fullscreen).
- Loading branch information
Showing
4 changed files
with
84 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters