Re: St.ButtonMask bug
- From: Olav Vitters <olav vitters nl>
- To: Antonio Hernández Díaz <ahdiaz gmail com>
- Cc: gnome-shell-list gnome org
- Subject: Re: St.ButtonMask bug
- Date: Fri, 19 Aug 2011 12:23:38 +0200
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]