Fixed bug #1045054 (KeyReleaseMask typo).

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@528 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
spanne 2004-12-31 13:55:26 +00:00
parent dda2b9bdcd
commit a3e75b2f8c
2 changed files with 3 additions and 1 deletions

View File

@ -702,3 +702,5 @@ from freeglut.
(186) Fixed bug #1087642 (glutDeviceGet(GLUT_DEVICE_KEY_REPEAT) (186) Fixed bug #1087642 (glutDeviceGet(GLUT_DEVICE_KEY_REPEAT)
unimplemented). unimplemented).
(187) Fixed bug #1045054 (KeyReleaseMask typo).

View File

@ -336,7 +336,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
*/ */
winAttr.event_mask = winAttr.event_mask =
StructureNotifyMask | SubstructureNotifyMask | ExposureMask | StructureNotifyMask | SubstructureNotifyMask | ExposureMask |
ButtonPressMask | ButtonReleaseMask | KeyPressMask | KeyRelease | ButtonPressMask | ButtonReleaseMask | KeyPressMask | KeyReleaseMask |
VisibilityChangeMask | EnterWindowMask | LeaveWindowMask | VisibilityChangeMask | EnterWindowMask | LeaveWindowMask |
PointerMotionMask | ButtonMotionMask; PointerMotionMask | ButtonMotionMask;
winAttr.background_pixmap = None; winAttr.background_pixmap = None;