1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:48:14 +00:00

WindowServer: Make it possible to turn off window title bars (#88)

Also, Launcher now does not use titlebars.
Only check if titlebar should be shown if the window type works with that.
This commit is contained in:
Christopher Dumas 2019-05-24 14:37:23 -07:00 committed by Andreas Kling
parent cb9134a2ca
commit 957f8b84f2
9 changed files with 54 additions and 11 deletions

View file

@ -65,8 +65,8 @@ GWindow* make_launcher_window()
auto* window = new GWindow;
window->set_title("Launcher");
window->set_rect(50, 50,
50, config->groups().size() * 55);
window->set_rect(50, 50, 50, config->groups().size() * 55 + 15);
window->set_show_titlebar(false);
auto* widget = new GWidget;
widget->set_fill_with_background_color(true);