mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
WindowServer: Use non-translated rect to fill the applet area's store
Fixes #6061
This commit is contained in:
parent
0b8226811f
commit
182f9582d2
Notes:
sideshowbarker
2024-07-18 20:47:56 +09:00
Author: https://github.com/d1823
Commit: 182f9582d2
Pull-request: https://github.com/SerenityOS/serenity/pull/6119
Issue: https://github.com/SerenityOS/serenity/issues/6061
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ void AppletManager::relayout()
|
|||
m_window->set_rect(rect);
|
||||
if (!rect.is_empty()) {
|
||||
Gfx::Painter painter(*m_window->backing_store());
|
||||
painter.fill_rect(m_window->rect(), WindowManager::the().palette().window());
|
||||
painter.fill_rect({ { 0, 0 }, rect.size() }, WindowManager::the().palette().window());
|
||||
}
|
||||
WindowManager::the().tell_wm_listeners_applet_area_size_changed(rect.size());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue