mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 07:09:41 +00:00
WindowServer: Give the desktop window the whole exact desktop rect
This commit is contained in:
parent
3d31f2e44b
commit
95805c0e56
Notes:
sideshowbarker
2024-07-19 07:30:06 +09:00
Author: https://github.com/awesomekling
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