1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

WindowServer: Invalidate the cursor when setting an override cursor

This commit is contained in:
DexesTTP 2020-05-13 09:19:25 +02:00 committed by Andreas Kling
parent 415d6fb230
commit aab998e776

View file

@ -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>();
}