In all cases you can use container_has_ancestor with the arguments swapped, which is faster than container_has_child. |
||
|---|---|---|
| .. | ||
| cursor.c | ||
| input-manager.c | ||
| keyboard.c | ||
| seat.c | ||
In all cases you can use container_has_ancestor with the arguments swapped, which is faster than container_has_child. |
||
|---|---|---|
| .. | ||
| cursor.c | ||
| input-manager.c | ||
| keyboard.c | ||
| seat.c | ||