Bug 27920

Summary: desktop resolution gets not restored
Product: xorg Reporter: paul.geisler
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description paul.geisler 2010-04-30 15:55:55 UTC
After running some bad resolution changing fullscreen application, the user set desktop resolution is not restored on quite many occasions. 

This is frequent if the display changing application is terminated abnormally (crashed, killed). 

Several bugtrackers are full of "desktop resolution wrong after running xy" complaints. This cannot be blamed to bad programs any more. The resolution should be handled just like memory or file handles - if the screen posessing process gets terminated, the OS / xserver should take care of restoring the desktop.
Comment 1 Adam Jackson 2010-05-06 13:04:10 UTC
commit 2d9da7a5f384d5f38b2be79b1ea0df5a3deb52d1
Author: Luc Verhaegen <libv@skynet.be>
Date:   Thu Oct 9 22:22:53 2008 +0200

    DGA: Track client state even when using old style DGA.
    
    This fixes the issue that a badly killed DGA will keep on hogging
    mode/framebuffer/mouse/keyboard.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.