GdkEventKey difference between Windows and Linux.
Tor Lillqvist <[email protected]>
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] writes: > I have written an application to call functions on particular key > combinations, however, I have found some discrepancies between how Windows > and Linux define what should be the same key press event. > In my example, I am attempting to capture Ctrl+r (case sensitive) to call a > function. And the versions of GTK+ you use on Linux and Windows are? > On Linux, the event->state returned is a combination of the bits > GDK_CONTROL_MASK and GDK_MOD2_MASK. MOD2? Really? Sounds a bit odd to me. I can't check on any X11 machine right now, but will once I get to work. --tml