summaryrefslogtreecommitdiff
path: root/src/glut/fbdev/menu.c
diff options
context:
space:
mode:
authorSean D'Epagnier <geckosenator@freedesktop.org>2006-11-30 03:25:28 +0000
committerSean D'Epagnier <geckosenator@freedesktop.org>2006-11-30 03:25:28 +0000
commit10cbd089aeb1087a277baf3a7ef0b4d9223970dc (patch)
treec1da62da8dabacce0ad67b548ebe872f44fefc13 /src/glut/fbdev/menu.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/menu.c')
-rw-r--r--src/glut/fbdev/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/fbdev/menu.c b/src/glut/fbdev/menu.c
index 18cd58d6a2..4ab4eb30d4 100644
--- a/src/glut/fbdev/menu.c
+++ b/src/glut/fbdev/menu.c
@@ -71,6 +71,7 @@ void FreeMenus(void)
free(Menus[i].Items[j].name);
free(Menus[i].Items);
}
+
free(Menus);
}
@@ -206,7 +207,6 @@ void CloseMenu(void)
int glutCreateMenu(void (*func)(int value))
{
- MouseEnabled = 1;
CurrentMenu = NumMenus;
NumMenus++;
Menus = realloc(Menus, sizeof(*Menus) * NumMenus);