mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +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
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