vino r993 - in trunk: . server



Author: jwendell
Date: Mon Oct 20 13:43:54 2008
New Revision: 993
URL: http://svn.gnome.org/viewvc/vino?rev=993&view=rev

Log:
2008-10-20  Jonh Wendell  <jwendell gnome org>

	* server/vino-server.c: Only restore the wallpaper when the last
	client disconnects. Closes LP: #266932.



Modified:
   trunk/ChangeLog
   trunk/server/vino-server.c

Modified: trunk/server/vino-server.c
==============================================================================
--- trunk/server/vino-server.c	(original)
+++ trunk/server/vino-server.c	Mon Oct 20 13:43:54 2008
@@ -209,10 +209,12 @@
                                  VinoClient *client)
 {
   if (vino_status_icon_remove_client (server->priv->icon, client))
-    vino_server_lock_screen (server);
+    {
+      vino_server_lock_screen (server);
 
-  if (vino_server_get_disable_background (server))
-    vino_background_draw (TRUE);
+      if (vino_server_get_disable_background (server))
+	vino_background_draw (TRUE);
+    }
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]