mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03: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: https://github.com/SerenityOS/serenity/commit/aab998e7763 Pull-request: https://github.com/SerenityOS/serenity/pull/2211
@ -614,6 +614,7 @@ OwnPtr<Messages::WindowServer::SetWindowOverrideCursorResponse> ClientConnection
|
||||
}
|
||||
auto& window = *(*it).value;
|
||||
window.set_override_cursor(Cursor::create((StandardCursor)message.cursor_type()));
|
||||
Compositor::the().invalidate_cursor();
|
||||
return make<Messages::WindowServer::SetWindowOverrideCursorResponse>();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user