mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 17:55:08 +00:00
WindowServer: Give the desktop window the whole exact desktop rect
This commit is contained in:
parent
3d31f2e44b
commit
95805c0e56
3 changed files with 14 additions and 1 deletions
|
@ -447,7 +447,7 @@ OwnPtr<Messages::WindowServer::CreateWindowResponse> ClientConnection::handle(co
|
|||
if (!message.fullscreen())
|
||||
window->set_rect(message.rect());
|
||||
if (window->type() == WindowType::Desktop) {
|
||||
window->set_rect(Screen::the().rect());
|
||||
window->set_rect(WindowManager::the().desktop_rect());
|
||||
window->recalculate_rect();
|
||||
}
|
||||
window->set_show_titlebar(message.show_titlebar());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue