aboutsummaryrefslogtreecommitdiff
path: root/examples/text-input.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-26 23:16:40 +0100
committeremersion <contact@emersion.fr>2018-11-26 23:17:52 +0100
commita5b8ea90d2b2fe5a56c166d362ced712f6aa35bb (patch)
tree7c97d1f14b7be6b2dd12a089e4f6a5656848491b /examples/text-input.c
parenteaa852ed77f66f782df73a33928717d68937d4b1 (diff)
surface: fix destroyed subsurfaces handling
wlr_subsurface_from_wlr_surface can return NULL if the wl_surface is still alive and if the wl_subsurface has been destroyed. Make sure we check for NULL. Fixes https://github.com/swaywm/sway/issues/3195
Diffstat (limited to 'examples/text-input.c')
0 files changed, 0 insertions, 0 deletions