[Xfce4-commits] [apps/xfce4-screensaver] 277/425: patch to use user's background for lock screen also.
noreply at xfce.org
noreply at xfce.org
Mon Oct 15 01:52:04 CEST 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-screensaver.
commit b2f48abf744a58f63cff97219e31532d361eb27f
Author: Oliver Mangold <o.mangold at gmail.com>
Date: Mon Dec 26 17:06:17 2016 +0100
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;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list