On Tue, Oct 15, 2002 at 12:41:46PM +0100, Angus Leeming wrote: > can you extract the info from ev->xbutton.state? > > man XButtonEvent: > The state member is set to indicate the logical state of the pointer > buttons and modifier keys just prior to the event, which is the bitwise > inclusive OR of one or more of the button or modifier key masks: But- > ton1Mask, Button2Mask, Button3Mask, Button4Mask, Button5Mask, Shift- > Mask, LockMask, ControlMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, > and Mod5Mask.
I think the current code tries exactly that and fails. The state is '0' for pure dragging. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)