Hi, when I use XI2 to obtain keypress / keyrelease events, the XIModifierState of XIDeviceEvent doesn't seem to contain a bit that indicates if Mode_switch was held down. In this case, all the four ints of the struct are zero. However, if I run xev, it is reported that the state field of XKeyEvent contains 0x2000 in this case (I don't know why it is this value but it's there).
Because I don't get to know about the Mode_switch bit, the X*LookupString functions don't translate the special cases for me I have in my XModmap. Did I miss to setup something or is something missing in XI2? Cheers, Philipp _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel