1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 19:15:07 +00:00

WindowServer+LibGUI: Implement minimizable property to windows

This commit is contained in:
Jami Kettunen 2020-01-04 13:12:02 +02:00 committed by Andreas Kling
parent a641f4d213
commit eab34a7de3
8 changed files with 46 additions and 8 deletions

View file

@ -61,6 +61,7 @@ void GWindow::show()
m_rect_when_windowless,
m_has_alpha_channel,
m_modal,
m_minimizable,
m_resizable,
m_fullscreen,
m_show_titlebar,
@ -549,6 +550,7 @@ void GWindow::save_to(AK::JsonObject& json)
json.set("title", title());
json.set("visible", is_visible());
json.set("active", is_active());
json.set("minimizable", is_minimizable());
json.set("resizable", is_resizable());
json.set("fullscreen", is_fullscreen());
json.set("rect", rect().to_string());