1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:57:42 +00:00

WindowServer+LibGUI: Add "frameless" window flag

This allows you to create windows with no title bar or window frame.
This commit is contained in:
Andreas Kling 2020-05-01 23:26:32 +02:00
parent bb7eb3e104
commit d847304cb9
6 changed files with 18 additions and 0 deletions

View file

@ -475,6 +475,8 @@ OwnPtr<Messages::WindowServer::CreateWindowResponse> ClientConnection::handle(co
window->set_parent_window(*parent_window);
}
window->set_frameless(message.frameless());
window->set_has_alpha_channel(message.has_alpha_channel());
window->set_title(message.title());
if (!message.fullscreen()) {