1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 16:17:45 +00:00

WindowServer: Change window geometry label to use the Overlay class

This enables flicker-free rendering.
This commit is contained in:
Tom 2021-06-25 09:18:20 -06:00 committed by Andreas Kling
parent 8b26debda1
commit 84cab29c59
7 changed files with 93 additions and 50 deletions

View file

@ -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);