diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-02-12 23:21:11 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-02-18 15:11:48 -0500 |
commit | ad34837ddaab418fc4d5aed61370227d634912cc (patch) | |
tree | 713ecaee3ef3fc3eb3077ae06327f3a058e76e2b /ISSUE_TEMPLATE.md | |
parent | cursor: relative-pointer-v1 time is usec (diff) | |
download | sway-ad34837ddaab418fc4d5aed61370227d634912cc.tar.gz sway-ad34837ddaab418fc4d5aed61370227d634912cc.tar.zst sway-ad34837ddaab418fc4d5aed61370227d634912cc.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 'ISSUE_TEMPLATE.md')
0 files changed, 0 insertions, 0 deletions