Applied Thomas Bastiani's patch fixing the behaviour of freeglut under X11 when