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
commit 9a27ef6523
Notes: sideshowbarker 2024-07-18 18:16:51 +09:00

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 {