On Fri, Jul 04, 2003 at 07:50:42PM +0300, Shachar Shemesh wrote:
> 3. Knowing when the user switches between the groups (I think there is 
> an X event that notifies about that, so this may not be a major problem).

Dunno about the rest, but running "xev" and pressing Left-Alt+Left-Shift
produces an event like:

KeyPress event, serial 27, synthetic NO, window 0x3000001,
    root 0x39, subw 0x0, time 564607667, (105,110), root:(108,154),
    state 0x1, keycode 64 (keysym 0xfe0a, ISO_Prev_Group), same_screen YES,
    XLookupString gives 0 characters:  ""


(and the releasing of them together produces:)
KeyRelease event, serial 27, synthetic NO, window 0x3000001,
    root 0x39, subw 0x0, time 564607765, (105,110), root:(108,154),
    state 0x2001, keycode 64 (keysym 0xfe0a, ISO_Prev_Group), same_screen YES,
    XLookupString gives 0 characters:  ""

Looks like the keysym generated is ISO_Prev_Group..

HTH some.

--Amos

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to