mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +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) {
|
if (m_flash_flush) {
|
||||||
for (auto& rect : screen_data.m_flush_rects.rects())
|
for (auto& rect : screen_data.m_flush_rects.rects())
|
||||||
screen_data.m_front_painter->fill_rect(rect, Color::Yellow);
|
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);
|
usleep(10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue