Announcement

Collapse
No announcement yet.

Drag-n-Drop Gets Improved Within Wayland

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Drag-n-Drop Gets Improved Within Wayland

    Phoronix: Drag-n-Drop Gets Improved Within Wayland

    Support for Drag-n-Drop (DnD) actions have been added to the Wayland protocol...

    http://www.phoronix.com/scan.php?pag...nd-DnD-Actions

  • #2
    According to the spec it will always choose the first of a list if multiple dnd actions are possible. I hope that can be overriden. I prefer KDE's system of asking the user when the choice is ambigious, instead of the Windows approach of doing something random by default.

    Comment


    • #3
      [...] Action changes may still happen after wl_data_device.drop,
      especially on "ask" actions, where the drag-and-drop destination
      may choose another action afterwards. Action changes happening
      at this stage are always the result of inter-client negotiation, the
      compositor shall no longer be able to induce a different action.
      [...]
      So it's - like the name suggests - only a preferred action not the one that's forced to execute.
      The client can still show a context menu and let the user decide what action should be executed.

      Comment


      • #4
        Excellent.

        Comment

        Working...
        X