Re: St.ButtonMask bug



On Fri, Aug 19, 2011 at 12:19:10PM +0200, Antonio Hernández Díaz wrote:
> I'm writing a Shell extension and I have just found that the value for
> St.ButtonMask.THREE is 4. This is obviously wrong.
> Has anyone else noticed this problem?, Do you know if it has been corrected?

It is a mask, so it is binary
1 => 1   /      0001
2 => 2   /      0010
3 => 4   /      0100
4 => 8   /      1000
8 => 16  / 0001 0000

etc
-- 
Regards,
Olav


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