diff --git a/src/wayland-server.c b/src/wayland-server.c index d1416821..9f9d6b3a 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -759,7 +759,7 @@ wl_seat_set_touch(struct wl_seat *seat, struct wl_touch *touch) return; seat->touch = touch; - if (!touch) + if (touch) touch->seat = seat; seat_send_updated_caps(seat);