summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-04-30 09:48:06 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-04-30 09:48:06 +0000
commita1c5c82860f539b31d328c7fdcc1bfb983e733d6 (patch)
tree3c6cb2af014b024e03112e324c78b61135c118a2
parent7001513cfc711168521309b476a44fcc926d7696 (diff)
Remove debug printfs, Use XCheckMaskEvent
-rw-r--r--src/glut/mini/window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glut/mini/window.c b/src/glut/mini/window.c
index 48a9feffa4b..73266769c53 100644
--- a/src/glut/mini/window.c
+++ b/src/glut/mini/window.c
@@ -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: