For some reason, the X "expose" event handler was *directly* calling
authorRichard Rauch <rkr@olib.org>
Sat, 14 Feb 2004 03:29:57 +0000 (03:29 +0000)
committerRichard Rauch <rkr@olib.org>
Sat, 14 Feb 2004 03:29:57 +0000 (03:29 +0000)
commite22690b3a40072ce4ad60382cbccd1e94c04f367
tree02520621d24175e419088913bf5b2fcc1b533328
parent3b06156b86b860856303b3673e7aa09cc7624d4a
For some reason, the X "expose" event handler was *directly* calling
the display handler in the client.  (Okay, it was calling a function
that operates on the window handle.)

If you have any complexity to the display code, this can be painful
to watch.  I can't think of a good reason to do the display immediately,
so I fixed the code to do a glutPostRedisplay().

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@461 7f0cb862-5218-0410-a997-914c9d46530a
src/freeglut_main.c