PDA

View Full Version : opengl wont go fullscreen


rb123
August 17th, 2005, 05:36 PM
ive tried glutfullscreen and glutentergamemode, and both show the two bars at the top and the one across the bottom; in game mode, the mouse is blocked from the upper two bars and the lower one is non-functional, so i assume it is actually in game mode, but gnome (or metacity) is overriding opengl's attempt to go full screen.

i assume that it will work correctly if i just run a window manager, but i'm so used to gnome i'd like to get it to work there as well. any tips?

thanks,

rod

Michael R Head
July 16th, 2007, 12:07 PM
Apparently, glutFullScreen() just sets the fullscreen hint for the Motif window manager. I'm looking for a way to do set the hint for other window managers. One thought is to use GTKGLEXT and use GTK's fullscreen api (gtk_window_fullscreen) and fill its content area with the GL canvas. I'm using python for my project, though, and the python bindings aren't in feisty (they're coming in gutsy, though).

blitzer
July 16th, 2007, 01:00 PM
I may not totally understand the problem here but would -Alt + enter change to full screen ?

The Alt + g allows the curser to move outside the window when in window mode.