Skip to content
Snippets Groups Projects
Commit a1c5c828 authored by Keith Whitwell's avatar Keith Whitwell
Browse files

Remove debug printfs, Use XCheckMaskEvent

parent 7001513c
No related branches found
No related tags found
No related merge requests found
......@@ -234,12 +234,11 @@ void APIENTRY glutMainLoop (void)
if (visible && idle_func)
have_event = XCheckWindowEvent( dpy, win, ~0, &evt );
have_event = XCheckMaskEvent( dpy, ~0, &evt );
else
have_event = XNextEvent( dpy, &evt );
if (have_event) {
fprintf(stderr, "got event type %d\n", evt.type);
idle = GL_FALSE;
switch(evt.type) {
case MapNotify:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment