mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:37:34 +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
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ void AppletManager::relayout()
|
||||||
m_window->set_rect(rect);
|
m_window->set_rect(rect);
|
||||||
if (!rect.is_empty()) {
|
if (!rect.is_empty()) {
|
||||||
Gfx::Painter painter(*m_window->backing_store());
|
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());
|
WindowManager::the().tell_wm_listeners_applet_area_size_changed(rect.size());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue