diff options
author | Tom <tomut@yahoo.com> | 2021-06-25 09:18:20 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-25 20:38:13 +0200 |
commit | 84cab29c59259fc2fdbcc7003ecfcd5880c95898 (patch) | |
tree | e64f0619e6006c3dd1fb54705ba132d179584337 /Userland/Services/WindowServer/Window.cpp | |
parent | 8b26debda1e486532f068d0916512bbb198d22bb (diff) | |
download | serenity-84cab29c59259fc2fdbcc7003ecfcd5880c95898.zip |
WindowServer: Change window geometry label to use the Overlay class
This enables flicker-free rendering.
Diffstat (limited to 'Userland/Services/WindowServer/Window.cpp')
-rw-r--r-- | Userland/Services/WindowServer/Window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/Window.cpp b/Userland/Services/WindowServer/Window.cpp index 2375061b96..3e5099a2dd 100644 --- a/Userland/Services/WindowServer/Window.cpp +++ b/Userland/Services/WindowServer/Window.cpp @@ -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); |