In all cases you can use container_has_ancestor with the arguments swapped, which is faster than container_has_child. |
||
|---|---|---|
| .. | ||
| desktop | ||
| input | ||
| tree | ||
| commands.h | ||
| config.h | ||
| criteria.h | ||
| debug.h | ||
| decoration.h | ||
| desktop.h | ||
| ipc-json.h | ||
| ipc-server.h | ||
| layers.h | ||
| output.h | ||
| security.h | ||
| server.h | ||
| swaynag.h | ||
| xwayland.h | ||