On Sun, Aug 13, 2006 at 09:32:02AM +1000, René Dudfield wrote: > weirdness... > > This is from my full screen code... > > mods = event.mod > > # right alt modifier doesn't work it seems. > # So I use 512 as a constant... seems to work. > if (mods & K_LALT) or (mods & K_RALT) or (mods & 512): These should be KMOD_LALT and KMOD_RALT, not K_LALT/K_RALT. KMOD_xxx are bit masks used in event.mod, K_xxx are key codes used in event.key. (mods & KMOD_ALT) is the same as (mods & KMOD_LALT) or (mods & KMOD_RALT). Marius Gedminas -- H.323 has much in common with other ITU-T standards - it features a complex binary wire protocol, a nightmarish implementation, and a bulk that can be used to fell medium-to-large predatory animals. -- Anthony Baxter
Attachment:
signature.asc
Description: Digital signature