Bastien Nocera 24b87b364d monitor-manager: Cache the last known value of "lid-is-closed"
Restarting UPower will make every property of UpClient emit a "notify"
signal (as a GDBusProxy would). Avoid mutter reconfiguring the displays
when upower restarts by caching the last known value of "lid-is-closed"
and only reconfiguring the displays if it actually changed.

This fixes a black out of the screen when UPower restarts.


(cherry picked from commit 49b23c749044a855fb3661a0351521f337946c41)
2018-08-31 14:58:57 +00:00
..
2014-05-02 09:34:48 -04:00
2014-09-12 11:55:08 -06:00
2018-05-07 22:06:02 +02:00