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:
parent
bee4544192
commit
0a1bd03f1d
7 changed files with 17 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue