/[xforms]/xforms/lib/textbox.c
ViewVC logotype

Diff of /xforms/lib/textbox.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by leeming, Sun Apr 6 15:52:40 2003 UTC revision 1.2 by leeming, Tue Apr 8 21:19:52 2003 UTC
# Line 1148  handle_textbox(FL_OBJECT * ob, int ev, F Line 1148  handle_textbox(FL_OBJECT * ob, int ev, F
1148              return 1;              return 1;
1149          }          }
1150          break;          break;
1151      case FL_KEYBOARD:      case FL_KEYPRESS:
1152          return handle_keyboard(ob, key, xev);          return handle_keyboard(ob, key, xev);
1153      case FL_RELEASE:      case FL_RELEASE:
1154          sp->lastmy = -1;          sp->lastmy = -1;
# Line 1799  fl_handle_mouse_wheel(FL_OBJECT * ob, in Line 1799  fl_handle_mouse_wheel(FL_OBJECT * ob, in
1799    
1800      if (*ev == FL_RELEASE && (*key > FL_MBUTTON3))      if (*ev == FL_RELEASE && (*key > FL_MBUTTON3))
1801      {      {
1802          *ev = FL_KEYBOARD;          *ev = FL_KEYPRESS;
1803          if (xev && shiftkey_down((((XButtonEvent *) xev)->state)))          if (xev && shiftkey_down((((XButtonEvent *) xev)->state)))
1804          {          {
1805              ((XButtonEvent *) xev)->state &= ~ShiftMask;              ((XButtonEvent *) xev)->state &= ~ShiftMask;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26