mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
WindowServer: When "flash flush" enabled, flash transparent rects green
This commit is contained in:
parent
32654b340a
commit
f48e581eac
1 changed files with 2 additions and 0 deletions
|
@ -593,6 +593,8 @@ void Compositor::flush(Screen& screen)
|
|||
if (m_flash_flush) {
|
||||
for (auto& rect : screen_data.m_flush_rects.rects())
|
||||
screen_data.m_front_painter->fill_rect(rect, Color::Yellow);
|
||||
for (auto& rect : screen_data.m_flush_transparent_rects.rects())
|
||||
screen_data.m_front_painter->fill_rect(rect, Color::Green);
|
||||
usleep(10000);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue