mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
WindowServer: Restore cursor when marking window as responsive
This commit is contained in:
parent
fdf03852c9
commit
e920c74cae
2 changed files with 9 additions and 3 deletions
|
@ -954,8 +954,11 @@ void ClientConnection::set_unresponsive(bool unresponsive)
|
|||
for (auto& it : m_windows) {
|
||||
auto& window = *it.value;
|
||||
window.invalidate();
|
||||
if (unresponsive)
|
||||
window.set_cursor(WindowManager::the().wait_cursor());
|
||||
if (unresponsive) {
|
||||
window.set_cursor_override(WindowManager::the().wait_cursor());
|
||||
} else {
|
||||
window.remove_cursor_override();
|
||||
}
|
||||
}
|
||||
Compositor::the().invalidate_cursor();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue