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. |
||
|---|---|---|
| .. | ||
| wlr_xdg_popup.c | ||
| wlr_xdg_positioner.c | ||
| wlr_xdg_shell.c | ||
| wlr_xdg_surface.c | ||
| wlr_xdg_toplevel.c | ||