From b2f48abf744a58f63cff97219e31532d361eb27f Mon Sep 17 00:00:00 2001 From: Oliver Mangold Date: Mon, 26 Dec 2016 17:06:17 +0100 Subject: patch to use user's background for lock screen also. --- src/gs-manager.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gs-manager.c b/src/gs-manager.c index 0f346ee..6795ff6 100644 --- a/src/gs-manager.c +++ b/src/gs-manager.c @@ -1054,7 +1054,7 @@ gs_manager_init (GSManager *manager) G_CALLBACK (on_bg_changed), manager); - mate_bg_load_from_system_preferences (manager->priv->bg); + mate_bg_load_from_preferences (manager->priv->bg); } static void @@ -1270,6 +1270,8 @@ apply_background_to_window (GSManager *manager, int width; int height; + mate_bg_load_from_preferences (manager->priv->bg); + if (manager->priv->bg == NULL) { gs_debug ("No background available"); @@ -1940,6 +1942,7 @@ gs_manager_request_unlock (GSManager *manager) /* Find the GSWindow that contains the pointer */ window = find_window_at_pointer (manager); + apply_background_to_window (manager, window); gs_window_request_unlock (window); return TRUE; -- cgit v1.2.1