diff options
author | Karol Kosek <krkk@serenityos.org> | 2021-09-18 22:02:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-17 21:39:54 +0200 |
commit | d91f194ddd7edc99b6f5abbd4c598d1007e7bba9 (patch) | |
tree | d6bb3e13bc11db6be183f924e320a9dec46ee0bd /Userland/Libraries/LibIMAP/CMakeLists.txt | |
parent | 9705580c53b481278a7c30f84483bb8fa0ad0c0c (diff) | |
download | serenity-d91f194ddd7edc99b6f5abbd4c598d1007e7bba9.zip |
LibGUI: Remember the maximized value if a window hasn't been created yet
d0fb511d75762e9d97fa80a01585381843b90a0a set the maximized window value
in the File Manager before a window was created, which resulted in crash
everytime you tried to open the program that was closed while it was
maximized. ugh
Here we do more-or-less what GUI::Window::set_rect() does, except we
don't add it to the WindowServer::create_window() IPC call.
That's because the Window Server knows nothing about menus at this
point and just assumes they don't need to be visible.
So if we try to maximize the window then, it could be slightly taller
and a titlebar could be hidden.
So even though it looks how it looks like, it does work and it doesn't
show in the startup size, as described in the mentioned commit (the call
is put a few lines before the initial update()). :^)
Diffstat (limited to 'Userland/Libraries/LibIMAP/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions