Re: Key pressed and modifier



>      if ((event->state == GDK_MOD2_MASK) &&

       if ((event->state & GDK_MOD2_MASK)

the state is a bitmask, not a value.



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