Fixed bug #1045054 (KeyReleaseMask typo).
authorSven Panne <sven.panne@aedion.de>
Fri, 31 Dec 2004 13:55:26 +0000 (13:55 +0000)
committerSven Panne <sven.panne@aedion.de>
Fri, 31 Dec 2004 13:55:26 +0000 (13:55 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@528 7f0cb862-5218-0410-a997-914c9d46530a

ChangeLog
src/freeglut_window.c

index 4837fad..0ee8703 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -702,3 +702,5 @@ from freeglut.
 
 (186) Fixed bug #1087642 (glutDeviceGet(GLUT_DEVICE_KEY_REPEAT)
 unimplemented).
+
+(187) Fixed bug #1045054 (KeyReleaseMask typo).
index da065e8..bef5dca 100644 (file)
@@ -336,7 +336,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
      */
     winAttr.event_mask        =
         StructureNotifyMask | SubstructureNotifyMask | ExposureMask |
-        ButtonPressMask | ButtonReleaseMask | KeyPressMask | KeyRelease |
+        ButtonPressMask | ButtonReleaseMask | KeyPressMask | KeyReleaseMask |
         VisibilityChangeMask | EnterWindowMask | LeaveWindowMask |
         PointerMotionMask | ButtonMotionMask;
     winAttr.background_pixmap = None;