diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-05-06 14:22:16 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-05-06 20:55:11 +0000 |
commit | 47a250ae12008035ee42008b3a8b426e9b96fe11 (patch) | |
tree | 3e68a0b8eaba68cd82eaf1234a610eecd48db975 | |
parent | e6fc5d1e499e7bfd8862f06583aee6323574f957 (diff) |
wlr_cursor: Consider surface state when setting new cursor surface
Found by inspection
-rw-r--r-- | types/wlr_cursor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/types/wlr_cursor.c b/types/wlr_cursor.c index e9b27dba..7c82c20d 100644 --- a/types/wlr_cursor.c +++ b/types/wlr_cursor.c @@ -481,6 +481,8 @@ void wlr_cursor_set_surface(struct wlr_cursor *cur, struct wlr_surface *surface, &output_cursor->output_commit); output_cursor->output_commit.notify = output_cursor_output_handle_output_commit; + + output_cursor_output_commit_surface(output_cursor); } } |