Changeset 2410 in Sophya
- Timestamp:
- Jul 21, 2003, 1:10:37 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pixtbase.cc
r2042 r2410 288 288 if (evt->xkey.state & ControlMask) 289 289 kmod = (PIKeyModifier) (kmod | PIKM_Cntl); 290 if (evt->xkey.state & Mod1Mask)291 kmod = (PIKeyModifier) (kmod | PIKM_Alt);292 290 // sur MacOSX, la touche Alt correspond a la touche pomme 293 291 // et la masque associe est Mod2Mask - Reza 02/2002 294 #if defined(Darwin) 295 if (evt->xkey.state & Mod2Mask) 292 // Pour eviter les problemes, on va confondre Mod1Mask et Mod2mask 293 // Reza / Juillet 2003 294 if ((evt->xkey.state & Mod1Mask) || (evt->xkey.state & Mod2Mask)) 296 295 kmod = (PIKeyModifier) (kmod | PIKM_Alt); 297 #endif298 296 switch (key) { 299 297 case XK_Return :
Note:
See TracChangeset
for help on using the changeset viewer.