Added ReparentNotify case to UNIX_X11 event loop, to catch the extraneous
ReparentNotify event types (type 21). git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@318 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
2ddf15c536
commit
91a94e44bc
@ -952,6 +952,9 @@ void FGAPIENTRY glutMainLoopEvent( void )
|
||||
}
|
||||
break;
|
||||
|
||||
case ReparentNotify:
|
||||
break; /* XXX Should disable this event */
|
||||
|
||||
default:
|
||||
fgWarning ("Unknown X event type: %d", event.type);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user