Applied patches from Bill Spitzak.

Fixed all source files with MS-DOS/Windows line termination (CR+LF) instead
of standard line termination (LF only).


git-svn-id: file:///fltk/svn/fltk/trunk@8 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 1998-10-06 19:14:55 +00:00
parent e7d805a88c
commit 725a11bce7
13 changed files with 2799 additions and 2794 deletions

View File

@ -410,7 +410,12 @@ int Fl::handle(int event, Fl_Window* window)
break;
case FL_RELEASE: {
if (Fl::pushed_) w = Fl::pushed_; Fl::pushed_ = 0;
if (Fl::pushed_) {
Fl::e_x += mouse_dx;
Fl::e_y += mouse_dy;
w = Fl::pushed_;
Fl::pushed_ = 0; // must be zero before callback is done!
}
int r = w->handle(event);
fl_fix_focus();
if (fl_xmousewin) fl_xmousewin->handle(FL_MOVE);

View File

@ -389,7 +389,7 @@ int fl_handle(const XEvent& xevent)
}
// ignore all effects of shift on the keysyms (makes it a lot
// easier to program shortcuts!)
keysym = XKeycodeToKeysym(fl_display, i, 0);
if (keysym < 0x400) keysym = XKeycodeToKeysym(fl_display, i, 0);
#ifdef __sgi
// get some missing PC keyboard keys:
if (!keysym) switch(i) {