mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
WindowServer: Invalidate the cursor when setting an override cursor
This commit is contained in:
parent
415d6fb230
commit
aab998e776
Notes:
sideshowbarker
2024-07-19 06:41:21 +09:00
Author: https://github.com/Dexesttp
Commit: aab998e776
Pull-request: https://github.com/SerenityOS/serenity/pull/2211
1 changed files with 1 additions and 0 deletions
|
@ -614,6 +614,7 @@ OwnPtr<Messages::WindowServer::SetWindowOverrideCursorResponse> ClientConnection
|
||||||
}
|
}
|
||||||
auto& window = *(*it).value;
|
auto& window = *(*it).value;
|
||||||
window.set_override_cursor(Cursor::create((StandardCursor)message.cursor_type()));
|
window.set_override_cursor(Cursor::create((StandardCursor)message.cursor_type()));
|
||||||
|
Compositor::the().invalidate_cursor();
|
||||||
return make<Messages::WindowServer::SetWindowOverrideCursorResponse>();
|
return make<Messages::WindowServer::SetWindowOverrideCursorResponse>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue