clutter/stage: Fix indentation check-code-style is complaining about

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3487>
This commit is contained in:
Daniel van Vugt 2024-01-04 17:22:26 +08:00 committed by Marge Bot
parent 40305f53f0
commit 6db9a0d77e

View File

@ -4305,60 +4305,60 @@ clutter_stage_emit_event (ClutterStage *self,
switch (event_type) switch (event_type)
{ {
case CLUTTER_NOTHING: case CLUTTER_NOTHING:
case CLUTTER_DEVICE_REMOVED: case CLUTTER_DEVICE_REMOVED:
case CLUTTER_DEVICE_ADDED: case CLUTTER_DEVICE_ADDED:
case CLUTTER_EVENT_LAST: case CLUTTER_EVENT_LAST:
return; return;
case CLUTTER_KEY_PRESS: case CLUTTER_KEY_PRESS:
case CLUTTER_KEY_RELEASE: case CLUTTER_KEY_RELEASE:
case CLUTTER_PAD_BUTTON_PRESS: case CLUTTER_PAD_BUTTON_PRESS:
case CLUTTER_PAD_BUTTON_RELEASE: case CLUTTER_PAD_BUTTON_RELEASE:
case CLUTTER_PAD_STRIP: case CLUTTER_PAD_STRIP:
case CLUTTER_PAD_RING: case CLUTTER_PAD_RING:
case CLUTTER_IM_COMMIT: case CLUTTER_IM_COMMIT:
case CLUTTER_IM_DELETE: case CLUTTER_IM_DELETE:
case CLUTTER_IM_PREEDIT: case CLUTTER_IM_PREEDIT:
{ {
target_actor = priv->key_focused_actor ? target_actor = priv->key_focused_actor ?
priv->key_focused_actor : CLUTTER_ACTOR (self); priv->key_focused_actor : CLUTTER_ACTOR (self);
break; break;
} }
/* x11 stage enter/leave events */ /* x11 stage enter/leave events */
case CLUTTER_ENTER: case CLUTTER_ENTER:
case CLUTTER_LEAVE: case CLUTTER_LEAVE:
{ {
target_actor = entry->current_actor; target_actor = entry->current_actor;
break; break;
} }
case CLUTTER_MOTION: case CLUTTER_MOTION:
case CLUTTER_BUTTON_PRESS: case CLUTTER_BUTTON_PRESS:
case CLUTTER_BUTTON_RELEASE: case CLUTTER_BUTTON_RELEASE:
case CLUTTER_SCROLL: case CLUTTER_SCROLL:
case CLUTTER_TOUCHPAD_PINCH: case CLUTTER_TOUCHPAD_PINCH:
case CLUTTER_TOUCHPAD_SWIPE: case CLUTTER_TOUCHPAD_SWIPE:
case CLUTTER_TOUCHPAD_HOLD: case CLUTTER_TOUCHPAD_HOLD:
case CLUTTER_TOUCH_UPDATE: case CLUTTER_TOUCH_UPDATE:
case CLUTTER_TOUCH_BEGIN: case CLUTTER_TOUCH_BEGIN:
case CLUTTER_TOUCH_CANCEL: case CLUTTER_TOUCH_CANCEL:
case CLUTTER_TOUCH_END: case CLUTTER_TOUCH_END:
case CLUTTER_PROXIMITY_IN: case CLUTTER_PROXIMITY_IN:
case CLUTTER_PROXIMITY_OUT: case CLUTTER_PROXIMITY_OUT:
{ {
float x, y; float x, y;
clutter_event_get_coords (event, &x, &y); clutter_event_get_coords (event, &x, &y);
CLUTTER_NOTE (EVENT, CLUTTER_NOTE (EVENT,
"Reactive event received at %.2f, %.2f - actor: %p", "Reactive event received at %.2f, %.2f - actor: %p",
x, y, entry->current_actor); x, y, entry->current_actor);
target_actor = entry->current_actor; target_actor = entry->current_actor;
break; break;
} }
} }
g_assert (target_actor != NULL); g_assert (target_actor != NULL);