mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
wayland/data-device: Small style fixes
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1031
This commit is contained in:
parent
c27fc3537b
commit
15b46a6f88
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user