1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

WindowServer: Use non-translated rect to fill the applet area's store

Fixes #6061
This commit is contained in:
Dawid Wolosowicz 2021-04-04 19:55:38 +02:00 committed by Andreas Kling
parent 0b8226811f
commit 182f9582d2

View file

@ -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());
}