GNOME Bugzilla – Bug 116343
fullscreen xinerama window
Last modified: 2007-04-09 18:03:56 UTC
It seems that window->has_fullscreen _func = FALSE if the window is not resizable, but I would like to fullscreen a window that is not resizable, but is already exactly the same size as my desktop. Note that I have a xinerama setup and the window is actually the same size as one of my monitors so all I require is that the window be positioned correctly without the frame and so the has_fullscreen_func should be set to TRUE.
This is a very tricky issue. Does this "fullscreen" app support xinerama? What if the window is moved from one xinerama to another? Does it resize itself? Should we set/unset has_fullscreen_func depending on where the window is?
I'm talking about opengl applications, specifically games i.e. never winter nights, return to castle wolfenstein and a few others. No, the app does not resize itself when moved from one xinerama screen to another (so I suppose it does not "support" xinerama). The app does have a fullscreen option, but that changes the resolution of the entire desktop via xvidmode extension, thus disabling my second head. I thus prefer to run the application in windowed mode at the resolution of my first head and use the fullscreen function of my windowmanager. Should we set/unset has_fullscreen_func depending on where the window is? yes! why not? If a non-resizable has the same resolution as the head it currently resides on then set has_fullscreen_func = TRUE. Would this be so hard to implement? Or better, make the has_fullscreen_func check at the moment that the fullscreen shortcut key is pressed and so avoiding the need to contiuously rexamine the window properties.
there's certainly something to be said for making has_fullscreen_func etc. into accessor functions rather than state variables we have to keep updated all the time... then this change would be simpler.
the version of metacity released with Gnome 2.4 contained code to allow such windows to be effectively fullscreen. I think that this issue is resolved.
Sorry, but I fail to see any code that fixes this. I'm currently running 2.6.2 and still have this problem. The function seems to be unchanged as can be seen from the following comment that is in 2.6.2 source and current cvs (window.c 5360): /* don't allow fullscreen if we can't resize, unless the size * is entire screen size (kind of broken, because we * actually fullscreen to xinerama head size not screen size) */ so it seems to me that this is still not fixed?
*** This bug has been marked as a duplicate of 130404 ***
*** Bug 427902 has been marked as a duplicate of this bug. ***