summaryrefslogtreecommitdiffstats
path: root/src/glut/fbdev/callback.c
diff options
context:
space:
mode:
authorSean D'Epagnier <[email protected]>2006-11-30 03:25:28 +0000
committerSean D'Epagnier <[email protected]>2006-11-30 03:25:28 +0000
commit10cbd089aeb1087a277baf3a7ef0b4d9223970dc (patch)
treec1da62da8dabacce0ad67b548ebe872f44fefc13 /src/glut/fbdev/callback.c
parent21cf414489af84b8bb374f76c36db8f0f1919733 (diff)
the following improvements to linux-fbdev:
1. updated makefiles to build libOSMesa as well as libGL these are improvements to fbdev-glut 1. mouse cursor will timeout and be invisible if not being used 2. do not restore colormaps to truecolor targets, this causes problems at exit on my g450 3. fixed a crash when cleaning up from failure by munmaping what had not yet been mmaped 4. Resize event handling is improved, the resize function is not invoked from a signal handler now. 5. The main loop can detect if it is running very fast (greater than 2khz) 6. keyboard up and special up events are generated from stdin input mode and if it is also not redrawing, it sleeps 7. corrections in escape sequences for function keys for stdin input
Diffstat (limited to 'src/glut/fbdev/callback.c')
-rw-r--r--src/glut/fbdev/callback.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glut/fbdev/callback.c b/src/glut/fbdev/callback.c
index 946c8d8c133..8c039f530be 100644
--- a/src/glut/fbdev/callback.c
+++ b/src/glut/fbdev/callback.c
@@ -74,19 +74,16 @@ void glutKeyboardUpFunc(void (*func)(unsigned char key, int x, int y))
void glutMouseFunc(void (*func)(int button, int state, int x, int y))
{
- MouseEnabled = 1;
MouseFunc = func;
}
void glutMotionFunc(void (*func)(int x, int y))
{
- MouseEnabled = 1;
MotionFunc = func;
}
void glutPassiveMotionFunc(void (*func)(int x, int y))
{
- MouseEnabled = 1;
PassiveMotionFunc = func;
}