Version: (using KDE KDE 3.5.8)
Installed from: Gentoo Packages
When I play a game in fullscreen with a lower resolution and switch to some other application, it causes the whole desktop to resize to the low resolution. (And this messes things up: e.g., bug 80265).
It would be nice if KDE changed the resolution when switching from and to the fullscreen application. Windows does it, and I think it works well.
I would very like to see this annoying issue fixed either, but I think this is not a kde/kwin problem - I think it is related to x.org.
As a workarond you can run the following command from xterm (or from konsole or from yakuake):
xrandr -s 0
It would fix the resolution and would allow not to restart x each time.
But since "xrandr" works, can't kwin do that on its own when switching between applications?
(Also, I never had to restart X...)
The resolution switching is done by the game, and it is not supposed to leave your screen in the wrong resolution. Moreover, if the game really changes the size of the desktop, then it's another wrong thing it does - it's supposed to only change the video mode.
Lubos, could it be possible for KDE to "protect" user/desktop? After all world is not perfect and you can always find a buggy (or malware) game and it would be better I think that KDE would not trust other apps.
KWin has no control nor any idea such things are happening - I don't know any good way how to currently implement that.