wayland/data-device: Small style fixes

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1031
This commit is contained in:
Robert Mader 2020-01-29 00:11:18 +01:00
parent c27fc3537b
commit 15b46a6f88

View File

@ -1051,7 +1051,7 @@ meta_wayland_data_source_fake_read (MetaWaylandDataSource *source,
static void static void
drag_grab_button (MetaWaylandPointerGrab *grab, drag_grab_button (MetaWaylandPointerGrab *grab,
const ClutterEvent *event) const ClutterEvent *event)
{ {
MetaWaylandDragGrab *drag_grab = (MetaWaylandDragGrab*) grab; MetaWaylandDragGrab *drag_grab = (MetaWaylandDragGrab*) grab;
MetaWaylandSeat *seat = drag_grab->seat; MetaWaylandSeat *seat = drag_grab->seat;
@ -1091,7 +1091,7 @@ drag_grab_button (MetaWaylandPointerGrab *grab,
meta_wayland_data_source_set_current_offer (source, NULL); meta_wayland_data_source_set_current_offer (source, NULL);
meta_wayland_data_device_set_dnd_source (&seat->data_device, NULL); meta_wayland_data_device_set_dnd_source (&seat->data_device, NULL);
unset_selection_source (&seat->data_device, META_SELECTION_DND); unset_selection_source (&seat->data_device, META_SELECTION_DND);
success= FALSE; success = FALSE;
} }
/* Finish drag and let actor self-destruct */ /* Finish drag and let actor self-destruct */