1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:08:12 +00:00

WindowServer: Add a custom window type for Launcher

This keeps it out of the taskbar window list.
The stacking order is a little gnarly, but it seems to work OK still.
This commit is contained in:
Robin Burchell 2019-07-13 23:51:33 +02:00 committed by Andreas Kling
parent bee4544192
commit 0a1bd03f1d
7 changed files with 17 additions and 1 deletions

View file

@ -72,6 +72,7 @@ GWindow* make_launcher_window()
int launcher_size = (config->groups().size() - 1) * 50;
window->set_rect(50, 50, vertical ? 50 : launcher_size, vertical ? launcher_size : 50);
window->set_show_titlebar(false);
window->set_window_type(GWindowType::Launcher);
auto* widget = new GWidget;
widget->set_fill_with_background_color(true);