Re: combined mouse and button event in a drawing area

On Thu, Jan 05, 2012 at 10:04:01PM -0500, Paul Davis wrote:
> > 2) I use the GDK_BUTTON_MOTION_MASK option because I want the mouse motion
> > to be considered only when the mouse button is pressed; in my case, EVERY
> > mouse motion is reported...
> not sure why you think this mask does this.

Probably because the description of this mask says

    receive pointer motion events while any button is pressed

so it is up to one's imagination whether the missing qualifier is
‘also’, ‘only’ or what.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]