summaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2020-01-05 22:29:32 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2020-01-06 10:12:28 +0100
commit1e2a2b07781057cd23f41411418e8b5870bf5b89 (patch)
treebe9da1b1b96454f217a57f03e30f3fbaef95cbf1 /sway/tree/view.c
parentinput/cursor: handle image surface destroy (diff)
downloadsway-1e2a2b07781057cd23f41411418e8b5870bf5b89.tar.gz
sway-1e2a2b07781057cd23f41411418e8b5870bf5b89.tar.zst
sway-1e2a2b07781057cd23f41411418e8b5870bf5b89.zip
input/cursor: handle setting a NULL image surface
This fixes a crash when attempting to listen to a signal on a NULL cursor image surface. If the surface is NULL, the listener is just reinitialized using wl_list_init.
Diffstat (limited to 'sway/tree/view.c')
0 files changed, 0 insertions, 0 deletions