mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
seat: Reduce indentation
This commit is contained in:
parent
dfc7f7222b
commit
c595a9c29f
@ -281,6 +281,9 @@ handle_scroll_event (MetaWaylandSeat *seat,
|
||||
|
||||
notify_motion (seat, event);
|
||||
|
||||
if (!seat->pointer.focus_resource)
|
||||
return;
|
||||
|
||||
switch (clutter_event_get_scroll_direction (event))
|
||||
{
|
||||
case CLUTTER_SCROLL_UP:
|
||||
@ -307,7 +310,6 @@ handle_scroll_event (MetaWaylandSeat *seat,
|
||||
return;
|
||||
}
|
||||
|
||||
if (seat->pointer.focus_resource)
|
||||
wl_pointer_send_axis (seat->pointer.focus_resource,
|
||||
clutter_event_get_time (event),
|
||||
axis,
|
||||
|
Loading…
Reference in New Issue
Block a user