Re: Ctrl key, event state value, XIM vs IBus
- From: Luc Pionchon <pionchon luc gmail com>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Ctrl key, event state value, XIM vs IBus
- Date: Tue, 4 Jun 2013 07:24:23 +0300
On 2 June 2013 11:57, Luc Pionchon <pionchon luc gmail com> wrote:
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)
answer at [1]. Sortly: use bit-wise operations
[1] https://mail.gnome.org/archives/gtk-devel-list/2013-June/msg00001.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]