mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
WindowServer: Update compositor reference to cursor on reload
When we reload a cursor we should make sure the compositor has a valid reference to the updated cursor.
This commit is contained in:
parent
f232cb8efe
commit
14fe7283e1
Notes:
sideshowbarker
2024-07-18 11:58:44 +09:00
Author: https://github.com/tomuta
Commit: 14fe7283e1
Pull-request: https://github.com/SerenityOS/serenity/pull/8032
Reviewed-by: https://github.com/Dexesttp
2 changed files with 27 additions and 16 deletions
|
@ -48,6 +48,8 @@ public:
|
|||
|
||||
void invalidate_cursor(bool = false);
|
||||
Gfx::IntRect current_cursor_rect() const;
|
||||
const Cursor* current_cursor() const { return m_current_cursor; }
|
||||
void current_cursor_was_reloaded(const Cursor* new_cursor) { m_current_cursor = new_cursor; }
|
||||
|
||||
void increment_display_link_count(Badge<ClientConnection>);
|
||||
void decrement_display_link_count(Badge<ClientConnection>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue