mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
WindowServer: Change window geometry label to use the Overlay class
This enables flicker-free rendering.
This commit is contained in:
parent
8b26debda1
commit
84cab29c59
Notes:
sideshowbarker
2024-07-18 11:30:59 +09:00
Author: https://github.com/tomuta
Commit: 84cab29c59
Pull-request: https://github.com/SerenityOS/serenity/pull/8174
Reviewed-by: https://github.com/MaxWipfli
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/gunnarbeutner
7 changed files with 93 additions and 50 deletions
|
@ -502,6 +502,8 @@ void Window::set_visible(bool b)
|
|||
return;
|
||||
m_visible = b;
|
||||
|
||||
if (!m_visible)
|
||||
WindowManager::the().check_hide_geometry_overlay(*this);
|
||||
Compositor::the().invalidate_occlusions();
|
||||
if (m_visible)
|
||||
invalidate(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue