data-device: implement drags with no data source for self-dnd

Properly handle a drag with no data source, i.e., don't crash and send
events only to the client that initiated the drag. This way a client can
do self drag and drop without offering anything to other clients.
This commit is contained in:
Ander Conselvan de Oliveira 2012-05-29 10:58:26 +03:00 committed by Kristian Høgsberg
parent d422a733b4
commit 75a5f7476a
4 changed files with 55 additions and 34 deletions

4
TODO
View file

@ -78,10 +78,6 @@ EWMH
- window move and resize functionality for kb and touch.
- dnd loose ends: self-dnd: initiate dnd with a null data-source,
compositor will not offer to other clients, client has to know
internally what's offered and how to transfer data. no fd passing.
- Protocol for specifying title bar rectangle (for moving
unresponsive apps). Rectangle for close button, so we can popup
force-close dialog if application doesn't respond to ping event