Comment 57 for bug 626321

Revision history for this message
In , Kazade (kazade) wrote :

I'm gonna reopen this, it's a bug that needs fixing. Where it needs fixing is the real issue...

Let me summarize the problem. Games regularly change the screen resolution, xrandr does this and it works, there are two issues though:

1. ALT+TAB away from the window doesn't restore the default resolution unless the application explicitly does it.
2. If the application crashes the user is left at a bad resolution.

MS Windows has a concept of a temporary resolution change. If a game crashes, and it marked the resolution change as temporary, the default resolution is restored. We really should have this behaviour, we cannot rely on an application to restore the resolution in a crash.

I started a discussion on the xorg-devel list over a year ago but it stagnated: http://<email address hidden>/msg00832.html

So, here are the questions. Is this something xrandr could implement? If not is it the window manager's job? If it *is* the window manager's job, how do we go about implementing this in a Freedesktop wm-spec so the window managers implement it across the board?