[gnome-settings-daemon] cursor: Show the cursor again on exit
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] cursor: Show the cursor again on exit
- Date: Tue, 7 Jun 2011 18:06:01 +0000 (UTC)
commit c987948e909cad97a3e88fbff6e11af4cf5b30bc
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jun 7 19:05:23 2011 +0100
cursor: Show the cursor again on exit
So we don't end up without any cursors showing.
plugins/cursor/gsd-cursor-manager.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/cursor/gsd-cursor-manager.c b/plugins/cursor/gsd-cursor-manager.c
index 36897ad..b785aab 100644
--- a/plugins/cursor/gsd-cursor-manager.c
+++ b/plugins/cursor/gsd-cursor-manager.c
@@ -309,6 +309,10 @@ gsd_cursor_manager_stop (GsdCursorManager *manager)
g_signal_handler_disconnect (G_OBJECT (device_manager), manager->priv->removed_id);
manager->priv->removed_id = 0;
}
+
+ if (manager->priv->cursor_shown == FALSE) {
+ set_cursor_visibility (manager, TRUE);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]