mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
Bastien Nocera
49b23c7490
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.
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%