diff --git a/src/backends/x11/meta-seat-x11.c b/src/backends/x11/meta-seat-x11.c index 8a3429a8f..487897b3e 100644 --- a/src/backends/x11/meta-seat-x11.c +++ b/src/backends/x11/meta-seat-x11.c @@ -2198,13 +2198,13 @@ meta_seat_x11_translate_event (MetaSeatX11 *seat, double *axes; source_device = get_source_device_checked (seat, xev); - if (!source_device) - return NULL; + if (!source_device) + return NULL; device = g_hash_table_lookup (seat->devices_by_id, GINT_TO_POINTER (xev->deviceid)); - if (clutter_input_device_get_device_type (source_device) == CLUTTER_PAD_DEVICE) + if (clutter_input_device_get_device_type (source_device) == CLUTTER_PAD_DEVICE) { uint32_t button, group, mode;