Fwd: Ctrl key, event state value, XIM vs IBus



Hi,

I have a program that connects to the key pressed event. I am getting
different event->state value for Ctrl, depending on the input method.
- XIM  gives 4
- IBus gives 33554436

is this how it is meant to be? How should I process it?

GDK_CONTROL_MASK catches only the XIM value


(Same for Alt)


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