Skip to content
Commit 6e17bc78 authored by Federico Mena Quintero's avatar Federico Mena Quintero
Browse files

Merge branch 'docking-stations' - bgo#663126

This lets docking stations work better in the light of plugging external monitors.

It used to be that a docked laptop, with a closed lid, would still keep the
LCD active, thus making it pretty useless with an external monitor.

Now, we disable the LCD if the laptop's lid is closed, as expected.
Additionally, to decide when to suspend the laptop, we do so if there
are no plugged or usable RANDR outputs.  For example, a docked laptop
with a closed lid and *no* external monitor has no usable outputs, so
it will get suspended.

This requires gnome-desktop 3.3.4 or later, as the semantics of
gnome_rr_screen_new() are slightly different there - now it returns a
singleton instead of a new object every time.
parents 7675bffd 7e238f2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment