Carlos Garnacho 319d0bb679 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.drop_performed
  - wl_data_source.drag_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.
2015-09-28 16:31:24 +02:00
2015-07-06 00:52:18 -07:00
2015-09-20 18:53:28 +03:00
2014-03-18 20:37:35 -04:00
2015-08-10 17:23:23 +02:00
2015-09-21 21:52:14 +02:00
2015-07-06 00:52:18 -07:00
2014-07-31 17:50:28 +02:00
2015-09-21 21:52:14 +02:00
Description
104 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%