wayland: Fix c&p typo in touch capabilities handling.

This commit is contained in:
Carlos Garnacho 2014-04-28 12:58:50 +02:00
parent cdfcd5fc85
commit ac5993a7e7

View File

@ -1539,7 +1539,7 @@ seat_handle_capabilities (void *data,
g_signal_emit_by_name (device_manager, "device-added", device->touch);
}
else if (!(caps & WL_SEAT_CAPABILITY_KEYBOARD) && device->wl_touch)
else if (!(caps & WL_SEAT_CAPABILITY_TOUCH) && device->wl_touch)
{
wl_touch_destroy (device->wl_touch);
device->wl_touch = NULL;