diff options
author | Oliver Mangold <[email protected]> | 2016-12-26 17:06:17 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-12-26 17:46:30 +0100 |
commit | b2f48abf744a58f63cff97219e31532d361eb27f (patch) | |
tree | 0901d69d2c883b4ff719557b65d0ad65115d6f1e | |
parent | 743b12c07883feef52e902a945642d16ac3ae6e0 (diff) | |
download | mate-screensaver-b2f48abf744a58f63cff97219e31532d361eb27f.tar.bz2 mate-screensaver-b2f48abf744a58f63cff97219e31532d361eb27f.tar.xz |
patch to use user's background for lock screen also.
-rw-r--r-- | src/gs-manager.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |