Re: St.ButtonMask bug



Did you mean

5 => 16 ?

Javier Domingo


El 19 de agosto de 2011 12:23, Olav Vitters <olav vitters nl> escribió:
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
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list



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