summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-03-10 17:27:26 +0000
committerBastien Nocera <hadess@hadess.net>2011-03-10 17:27:26 +0000
commit7f41e7fbeeee51807514c1b4445b818ffcf94c73 (patch)
tree323f527bc1dde4cd6775a3784712012e7113e8fc
parent5b35409fc1031ecae493660fc71555652525fbc7 (diff)
im-status: Don't be idle as soon as we enter fullscreen
Otherwise the screensaver is trying to set us as "not idle", but the im-status will say the contrary, and we might end up with the screen locking as soon as we go fullscreen.
-rw-r--r--src/plugins/im-status/totem-im-status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/im-status/totem-im-status.c b/src/plugins/im-status/totem-im-status.c
index c2ddc7f6..33bfb4d9 100644
--- a/src/plugins/im-status/totem-im-status.c
+++ b/src/plugins/im-status/totem-im-status.c
@@ -76,7 +76,7 @@ totem_im_status_set_idleness (TotemImStatusPlugin *pi,
pi->priv->idle = idle;
variant = g_dbus_proxy_call_sync (pi->priv->proxy,
"SetStatus",
- g_variant_new ("(u)", idle ? STATUS_IDLE : STATUS_AVAILABLE),
+ g_variant_new ("(u)", idle ? STATUS_BUSY : STATUS_AVAILABLE),
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,