[compiz] No window decorations for simple glut app on compiz/aiglx?

Sean seanlkml at sympatico.ca
Mon Oct 16 14:22:16 PDT 2006


	
The simple glut app below demonstrates a problem i'm seeing here.
It fails to get a title bar, window frame or any other wm decorations.
Same results when passing -direct or -indirect on command line.
It works as expected when compiz isn't the WM.

Can anyone else confirm they see this too? 

Any suggestions on how to fix this up?

Thanks much,
Sean

P.S. compiled with -lGL -lglut  and using r300 driver.

#include <GL/glut.h>
void DrawScene(void)
{
	glClearColor(0.5, 0.0, 0.0, 0.0);
	glClear(GL_COLOR_BUFFER_BIT);
	glColor3f(0.0, 0.1, 1.0);
	glutSolidTeapot(0.6);
	glFlush();
}
int main(int argc, char *argv[])
{
	glutInit(&argc, argv);
	glutInitDisplayMode(GLUT_SINGLE|GLUT_RGB);
	glutCreateWindow(argv[0]);
	glutDisplayFunc(DrawScene);
	glutMainLoop();
	return 0;
}


More information about the compiz mailing list