Carlos Garnacho 9b26694bbc wayland: Implement DnD actions as per wl_data_device v3 changes
We now additionally send:
  - wl_data_offer.source_actions
  - wl_data_source.action
  - wl_data_offer.action
  - wl_data_source.dnd_drop_performed
  - wl_data_source.dnd_finished

The protocol changes allow for compositors to implement different policies
when chosing the action, mutter uses this to reimplement the same behavior
that GTK+ traditionally had:

  - Alt/Control/Shift modifiers change the chosen action to
    ask/copy/move respectively
  - Drags with middle button start out as "ask" by default

As mutter now also grabs the keyboard and unsets the window focus for these
purposes, the window focus is restored after the drag operation has
finished.

The Xdnd bridge code is also modified to cope with actions, so mixed
wayland-x11 scenarios are able to convey that information.

https://bugzilla.gnome.org/show_bug.cgi?id=760805
2016-01-19 13:55:33 +01:00
2015-11-09 10:25:40 -05:00
2015-07-06 00:52:18 -07:00
2016-01-12 22:35:05 +02:00
2014-03-18 20:37:35 -04:00
2015-12-14 15:17:40 -08:00
2015-12-17 01:21:40 +01:00
2015-07-06 00:52:18 -07:00
2014-07-31 17:50:28 +02:00
2015-12-17 01:21:40 +01:00
Description
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%