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
commit 84cab29c59
Notes: sideshowbarker 2024-07-18 11:30:59 +09:00
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);