Interesting. OK, let me define "drag event," then, and then perhaps someone can tell me where I need to look from there, whether it's in the X sources or somewhere else.<br><br>I define a drag event to be a motion event (as previously defined by Owen Taylor) where throughout the duration of the motion event, a button on an input device remains in the pressed state.  
<br><br>An example of a drag event would be the event that takes place when I click and hold my left mouse button and move it across a line of text to highlight it.  Another example of a drag event would be the event that takes place when I click on a file icon in Konqueror and drag the file icon on top of another file icon.
<br><br>Does this clarify things?<br><br><div><span class="gmail_quote">On 3/10/06, <b class="gmail_sendername">Owen Taylor</b> <<a href="mailto:otaylor@redhat.com">otaylor@redhat.com</a>> wrote:</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
There is no such thing as a drag event in X. You get "motion" events,<br>when the pointer is moved and which are independent from the state of<br>the button or buttons.</blockquote></div><br>