Create new windows with the size of the previously active window, and maximized if it was maximized. This matches the behaviour of other browsers, and solves an annoying issue where new windows would always be tiny. Application::new_window() now takes a WindowConfiguration struct that lets you specify the position, size, and maximized-ness of the window. All previous callers of new_window() now use this instead of modifying the window state afterwards. WindowConfiguration is slightly awkwardly broken up into individual x/y and width/height fields instead of a position and a size, for the sake of compatibility with HTML::WebViewHints. |
||
|---|---|---|
| .. | ||
| Android | ||
| AppKit | ||
| cmake | ||
| Gtk | ||
| Icons | ||
| Qt | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Info.plist | ||