aboutsummaryrefslogtreecommitdiff
path: root/examples/cat.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-11-30 18:33:08 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-11-30 18:32:48 +0000
commit2540de494e66c6fa056e9608755bfa7474d4ee47 (patch)
tree436f8003d4b5a941405637c5666399249ca6b31a /examples/cat.h
parent456b971099b135512ce01383b486965290bf29db (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 'examples/cat.h')
0 files changed, 0 insertions, 0 deletions