- Subject: Re: Brief and keydefs
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Thu, 13 Oct 2005 09:52:14 -0400
G. Milde <g.milde@xxxxxx> wrote:
>What happens with jed-99.16 if I use an integer outside the range: will
>it silently fail or throw an error. In other words: will I have to put
>some saveguards around e.g.
> x_set_keysym(0xFE20, '$', Key_Shift_Tab);
>to be backwards compatible?
Earlier versions mapped 0x??XX to 0xFFXX. So, 0xFE20 would be
regarded as 0xFF20. You can use something like:
#ifeval (_jed_version >= 9917)
x_set_keysym(0xFE20, '$', Key_Shift_Tab);
.
.
#endif
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]