mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
WindowServer: When "flash flush" enabled, flash transparent rects green
This commit is contained in:
parent
32654b340a
commit
f48e581eac
Notes:
sideshowbarker
2024-07-18 10:07:05 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/f48e581eacc
@ -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…
Reference in New Issue
Block a user