Updates:
        Status: Notabug

Comment #4 on issue 1162 by Shawn.P.Huang: ibus emits GdkEventKey.state with unused bits.
http://code.google.com/p/ibus/issues/detail?id=1162

I think the CLEAN macro is good. I suggest using:
#define CLEAN(state) (state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK| GDK_ANY_OTHER_SUPPORT_MASKS))

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复