diff --git a/src/backends/meta-backend.c b/src/backends/meta-backend.c index e4293350c..e2466ae43 100644 --- a/src/backends/meta-backend.c +++ b/src/backends/meta-backend.c @@ -657,7 +657,7 @@ upower_properties_changed (GDBusProxy *proxy, g_signal_emit (backend, signals[LID_IS_CLOSED_CHANGED], 0, priv->lid_is_closed); - if (lid_is_closed) + if (!lid_is_closed) reset_idle_time = TRUE; } }