[Wayland-bugs] [Bug 697855] Implement DnD in wayland

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 25 10:56:00 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=697855
  gtk+ | Backend: Wayland | 3.8.x

Kristian Høgsberg <krh> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krh at bitplanet.net

--- Comment #17 from Kristian Høgsberg <krh at bitplanet.net> 2014-08-25 17:55:51 UTC ---
(In reply to comment #16)
> One caveat I forgot to mention, local DnD is somewhat botched, there seems to
> be no way to short circuit petitions, nor to know whether the other side is the
> same client. And there's also this bug I'm chasing where it sometimes won't
> detect the local window as a drop destination until the pointer leaves and
> enters the window.

Are you trying to enforce only local (which I assume means only windows from
the source client?) or to do something special in the local case?

Local only is supported by providing a NULL data source.  In that case, the
compositor will only send dnd enter/leave to surfaces from the same client, and
the client is responsible for communicating the available data types and the
data transfer internally.

As for doing something special in case of a local dnd, it should be possible to
detect by noticing that data_devices wl_seat is one that the client currently
has an active dnd grab for.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list