Comment 10 for bug 949296

Revision history for this message
James M. Leddy (jm-leddy) wrote :

Hi Ursinha, would you please take a look at this? The main problem is that when a driver does not use xrandr, it shows up as [default]. In this case, it's not whitelisted as a "laptop display", and so g-s-d thinks there is an external monitor connected on lid close. I see two possible solutions to this.

1) whitelist [default] as a laptop display
2) Andrei's patch. The logic is that if there is only one display and you have a lid close, you know it must be a laptop display, because desktops don't get lid close events, and laptops don't ship without a display.

We'll have to consult upstream about this.