1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

WindowServer: Allow different shadows for active/inactive windows

Also allow specifying different shadows for the task and menu bar.
This commit is contained in:
Tom 2021-02-11 15:12:19 -07:00 committed by Andreas Kling
parent 8c694ed6eb
commit cf1c159ed5
10 changed files with 41 additions and 12 deletions

View file

@ -474,7 +474,7 @@ void Window::invalidate(bool invalidate_frame, bool re_render_frame)
m_invalidated_frame = true;
}
if (re_render_frame)
frame().set_dirty();
frame().set_dirty(true);
m_dirty_rects.clear();
Compositor::the().invalidate_window();
}