1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:17:35 +00:00

WindowServer: Re-render window frame when setting unresponsive status

Otherwise "(not responding)" would not appear in the window title until
the window is moved/resized.
This commit is contained in:
Linus Groh 2021-05-12 22:51:56 +01:00
parent 60eb4adac2
commit 9a27ef6523

View file

@ -839,7 +839,7 @@ void ClientConnection::set_unresponsive(bool unresponsive)
m_unresponsive = unresponsive;
for (auto& it : m_windows) {
auto& window = *it.value;
window.invalidate();
window.invalidate(true, true);
if (unresponsive) {
window.set_cursor_override(WindowManager::the().wait_cursor());
} else {