Sean
2006-Oct-16 14:22 UTC
[compiz] No window decorations for simple glut app on compiz/aiglx?
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; }
Possibly Parallel Threads
- [LLVMdev] Segfault when using llvm-3.6 and OpenGL at the same time on Linux (with mesa, which uses llvm-3.4)
- [LLVMdev] lli problem with a simple OpenGL
- Dynamic generation of a (sub) layout
- misc3d Contour export to vtk
- no decorations on 2nd head using nvidia and aiglx