diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-29 22:42:23 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-30 14:24:35 -0700 |
commit | 8bb2dc68ea9168553a68eb4df672f87ed667637f (patch) | |
tree | 4263fc84b7cbacdb2cd8a7bcac871c3d88b21462 /tinywl/LICENSE | |
parent | 7e521fed9799d94b90bfd7f11951736d98fe30f8 (diff) |
xdg-shell: make wlr_xdg_surface_from_resource reject NULL
Most resources must not be NULL. Make it so callers need to check for
NULL explicitly. This makes it clearer in the handlers code that the
NULL wl_resource case needs to be handled, and allows callers to make a
difference between a NULL wl_resource and an inert resource.
Diffstat (limited to 'tinywl/LICENSE')
0 files changed, 0 insertions, 0 deletions