1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:07:34 +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

@ -211,6 +211,9 @@ bool WSEventLoop::on_receive_from_client(int client_id, const WSAPI_ClientMessag
case WSAPI_WindowType::Menubar:
ws_window_type = WSWindowType::Menubar;
break;
case WSAPI_WindowType::Launcher:
ws_window_type = WSWindowType::Launcher;
break;
case WSAPI_WindowType::Invalid:
default:
dbgprintf("Unknown WSAPI_WindowType: %d\n", message.window.type);