Disabling drag events?

Ross Burton ross at burtonini.com
Fri Mar 10 09:48:46 PST 2006


On Fri, 2006-03-10 at 11:11 -0500, Kit Peters wrote:
> 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.
> 
> 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.  
> 
> 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. 
> 
> Does this clarify things?

As Owen said, behaviour is implemented at the toolkit level.  You want
to disable dragging in whatever toolkit you are using, be it Qt, GTK,
Motif, or something else.

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF






More information about the xorg mailing list