diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-datetime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c index ec08f92..a999f42 100644 --- a/src/indicator-datetime.c +++ b/src/indicator-datetime.c @@ -830,7 +830,7 @@ session_active_change_cb (GDBusProxy * proxy, gchar * sender_name, gchar * signa { // Just returned from suspend IndicatorDatetime * self = INDICATOR_DATETIME(user_data); - if (g_strcmp0(signal_name, "ActiveChanged") == 0) { + if (g_strcmp0(signal_name, "SystemIdleHintChanged") == 0 && g_variant_get_boolean(parameters) == FALSE) { update_time(self); } return; |