IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6717


Ignore:
Timestamp:
Mar 28, 2006, 9:15:10 AM (20 years ago)
Author:
eugene
Message:

fixed cursor bug for invalid key

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa/graph/cursor.c

    r6639 r6717  
    7373      name = XKeysymToString (keysym);
    7474
     75      // ignore unmapped keys
     76      if (name == NULL) continue;
     77
    7578      x = (event.xkey.x - layout[0].axis[0].fx)*(layout[0].axis[0].max - layout[0].axis[0].min)/layout[0].axis[0].dfx + layout[0].axis[0].min;
    7679      y = (event.xkey.y - layout[0].axis[1].fy)*(layout[0].axis[1].max - layout[0].axis[1].min)/layout[0].axis[1].dfy + layout[0].axis[1].min;
Note: See TracChangeset for help on using the changeset viewer.