aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_move_tiling.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-02-12 23:21:11 -0500
committerLibravatar emersion <contact@emersion.fr>2019-02-13 09:51:40 +0100
commitd168d65f2c0297bf5662c0f48f5f53705e54a376 (patch)
tree713ecaee3ef3fc3eb3077ae06327f3a058e76e2b /sway/input/seatop_move_tiling.c
parentcursor: relative-pointer-v1 time is usec (diff)
downloadsway-d168d65f2c0297bf5662c0f48f5f53705e54a376.tar.gz
sway-d168d65f2c0297bf5662c0f48f5f53705e54a376.tar.zst
sway-d168d65f2c0297bf5662c0f48f5f53705e54a376.zip
subsurface_get_root_coords: break on NULL
It is possible for `wlr_surface_is_subsurface` to return true, but `wlr_surface_from_wlr_surface` to be NULL. This adds a NULL check to the value returned by `wlr_surface_from_wlr_surface` and breaks out of the while loop in `subsurface_get_root_coords`.
Diffstat (limited to 'sway/input/seatop_move_tiling.c')
0 files changed, 0 insertions, 0 deletions