mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 17:05:10 +00:00
WindowServer: Apply the "wait" cursor to unresponsive windows
This commit is contained in:
parent
e99cb74a0c
commit
ec5845212d
1 changed files with 5 additions and 1 deletions
|
@ -842,8 +842,12 @@ void ClientConnection::set_unresponsive(bool unresponsive)
|
|||
return;
|
||||
m_unresponsive = unresponsive;
|
||||
for (auto& it : m_windows) {
|
||||
it.value->invalidate();
|
||||
auto& window = *it.value;
|
||||
window.invalidate();
|
||||
if (unresponsive)
|
||||
window.set_override_cursor(WindowManager::the().wait_cursor());
|
||||
}
|
||||
Compositor::the().invalidate_cursor();
|
||||
}
|
||||
|
||||
void ClientConnection::may_have_become_unresponsive()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue