mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 14:55:08 +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:
parent
cb9134a2ca
commit
957f8b84f2
9 changed files with 54 additions and 11 deletions
|
@ -494,6 +494,7 @@ void WSClientConnection::handle_request(const WSAPICreateWindowRequest& request)
|
|||
window->set_title(request.title());
|
||||
if (!request.is_fullscreen())
|
||||
window->set_rect(request.rect());
|
||||
window->set_show_titlebar(request.show_titlebar());
|
||||
window->set_opacity(request.opacity());
|
||||
window->set_size_increment(request.size_increment());
|
||||
window->set_base_size(request.base_size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue