diff --git a/CHANGES b/CHANGES index 85f1d8724..0158ed352 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ +CHANGES IN FLTK 1.1.11 + + - Documentation fixes (STR #2410) + - Fixed mouse wheel related crash in GLUT emulation (STR #2381) + CHANGES IN FLTK 1.1.10 - Documentation fixes (STR #2220, STR #2209, STR #1945, STR #1893) diff --git a/src/glut_compatability.cxx b/src/glut_compatability.cxx index 8fe7ca900..3a66cc5f6 100644 --- a/src/glut_compatability.cxx +++ b/src/glut_compatability.cxx @@ -103,8 +103,8 @@ int Fl_Glut_Window::handle(int event) { case FL_MOUSEWHEEL: button = Fl::event_dy(); - while (button < 0) {mouse(3,GLUT_DOWN,ex,ey); ++button;} - while (button > 0) {mouse(4,GLUT_DOWN,ex,ey); --button;} + while (button < 0) {if (mouse) mouse(3,GLUT_DOWN,ex,ey); ++button;} + while (button > 0) {if (mouse) mouse(4,GLUT_DOWN,ex,ey); --button;} return 1; case FL_RELEASE: