next up previous contents index
Next: 2. Protocol Messages Up: 2. Protocol Basics Previous: 2. Protocol Basics   Contents   Index

1. Drag Operation Modes

Both the drag and the drop protocol are build around X client messages which are send forth and back between the initiator and receiver of the drag and drop operation. Such messages are emitted during the start, cancelation or end of a drag and drop operation, or as the user moves the mouse pointer around the screen and the pointer enters and leaves valid drop sites. This way, the initiator client and the potential receiver client(s) can provide to the user some visual feedback about the current state of the drag operation. Such a visual feedback could be highlighting a drop site so the user notices the existence of a valid drop site. There are two sets of visual feedbacks: the ``drag-over visuals'' of the initiator and the ``drag-under'' visuals of the receiver(s).

The drag operation as well as the handling of the drag-under visuals are different depending on the operation mode of the drag:


next up previous contents index
Next: 2. Protocol Messages Up: 2. Protocol Basics Previous: 2. Protocol Basics   Contents   Index
Danny Backx
2000-12-13