diff options
author | Simon Ser <contact@emersion.fr> | 2021-11-30 18:33:08 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-11-30 18:32:48 +0000 |
commit | 2540de494e66c6fa056e9608755bfa7474d4ee47 (patch) | |
tree | 436f8003d4b5a941405637c5666399249ca6b31a /backend | |
parent | 456b971099b135512ce01383b486965290bf29db (diff) |
output: don't leave dangling cursor_front_buffer
Sometimes we were calling wlr_output_impl.set_cursor with a NULL
buffer, but we weren't clearing wlr_output.cursor_front_buffer.
Avoid leaving a dangling buffer behind.
Introduce a helper function output_set_hardware_cursor which calls
wlr_output_impl.set_cursor and keeps cursor_front_buffer in sync.
Diffstat (limited to 'backend')
0 files changed, 0 insertions, 0 deletions