mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
implemented settings for window manager.
This commit is contained in:
parent
d4a16d6031
commit
63486b8438
5 changed files with 54 additions and 51 deletions
|
@ -76,10 +76,8 @@ void WSCompositor::compose()
|
|||
for (auto& dirty_rect : dirty_rects.rects()) {
|
||||
if (wm.any_opaque_window_contains_rect(dirty_rect))
|
||||
continue;
|
||||
if (!m_wallpaper)
|
||||
m_back_painter->fill_rect(dirty_rect, wm.m_background_color);
|
||||
else
|
||||
m_back_painter->blit(dirty_rect.location(), *m_wallpaper, dirty_rect);
|
||||
m_back_painter->fill_rect(dirty_rect, wm.m_background_color);
|
||||
m_back_painter->blit(dirty_rect.location(), *m_wallpaper, dirty_rect);
|
||||
}
|
||||
|
||||
auto compose_window = [&] (WSWindow& window) -> IterationDecision {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue