Alt+TAB and fullscreen games
Okay, so I've always had this problem where it's impossible to alt+TAB out of fullscreen applications. Most applications that are native to Linux use SDL, which overrides it anyway, but Wine doesn't for example, so let's look at that.
If I alt+TAB, all that happens is that the screen flickers a little bit, the game still overlays the screen but if I click anywhere, the OS behaves as if the window I wanted in front is in front, so clearly only a display issue.
I had pretty much accepted this problem. It would never go away I thought.
But then, today, magically, it went away.
2 hours later, it came back.
So now I want to ask what the hell I did. Maybe someone knows exactly how to make it work, persistantly? That would be great.
Reason why I'm posting here?
I use FGLRX, and I do not have this issue with the MESA-drivers. (They, however, just perform terrible. )
just run wine as root.no problem switching workspaces ort alttabbing then. sadly native opengl still got the same problems...
If window you alt+tab to isnt maximised, everything works as expected. Im using it with Heroes of Newerth all the time
y but hon got borders then and there are the gnome panels. but mouse seems to be locked to the window as far as i remenber. how are you dealing with the borders?is their a switch to run hon borderless on top of all panels?
Originally Posted by Schmaker
In this case it was with World of Warcraft. The setting was "Windowed (Fullscreen)" which, on Windows, allows you to alt+tab and even have the game behaving exactly like a window, but with no border and filling up the entire desktop area. Panels and other windows can go on top, and other windows can be behind.
Yesterday I had this working as well on Linux. Gnome-Panel and the windows I wanted overlayed the game itself. (Unless I was tabbed into the game, then the game overlayed everything) The game could be minimized and tabbed between and so on and it was great. Then I had to restart the game (because Wine's performance slowly degrades for some odd reason) and I got the bug again.
The bug is that any attempt to bring the game out of focus will actually do so, but visually the game is still in focus, and the animations that result from attempting to alt+tab only result in flickering and may even crash the program.
You misunderstood me i guess.. Just run HoN in fullscreen then do alt + tab switch.. Screen flickers, youre switched to desktop. Hold alt, left click and drag somewhere. Window would get unmaximized and you should see desktop just until another maximized window got focus.
I tried that too (just for testing) and it didn't help. Now it was flickering all the time after alt-tabbing unti warcraft3 had the focus again.
Originally Posted by bongmaster2
Plus with wine as root there are some graphics glitches. In the warcraft3 menu there's for example the texture of the water missing.
All games I play on Windows work correctly with Alt+Tab. They get minimized. And it was like that since the Windows 95 days. On Linux, it's always problematic. And always has been. And I've no idea why this problem exists or can't get fixed. As soon as you Alt+Tab from a fullscreen game, everything can happen; from your desktop getting fucked up, to a total crash.
But that's OK; I don't intend to play games on Linux.
Sorry for the age-old bump, but people told me to write in here incase I ever came across a solution, and I have.
Unfortunately, it requires hardware, although a hack may very well be possible. Please don't hesitate, code-gurus!
On my computer at least: Connect a second monitor and whoops, the problem goes away!
Sometimes it will work without doing this, but that appears to be a bug.
Apparently, if your virtual desktop is larger than the visible screenarea, the bug is resolved!
This is with FGLRX 10.8 all the way up to 11.2.
If I disconnect my second monitor, log out and back in again, and try to run the same program that was just working - it'll break.
So why questioning my presence then?