Last active
November 19, 2016 15:39
-
-
Save nachanon/7f1aff255e24eb01b4fd to your computer and use it in GitHub Desktop.
Patch for MATE Screen Saver git 0ebac28 (~1.10.2) for displaying user-configured desktop background on lock screen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: Nutchanon Wetchasit <nachanon@users.noreply.github.com> | |
Subject: Load user-configured background on password prompt display | |
Bug: https://github.com/mate-desktop/mate-screensaver/issues/55 | |
--- a/src/gs-manager.c | |
+++ b/src/gs-manager.c | |
@@ -1053,8 +1053,6 @@ | |
"changed", | |
G_CALLBACK (on_bg_changed), | |
manager); | |
- | |
- mate_bg_load_from_system_preferences (manager->priv->bg); | |
} | |
static void | |
@@ -1270,6 +1268,10 @@ | |
gs_window_set_background_pixmap (window, NULL); | |
#endif | |
} | |
+ else | |
+ { | |
+ mate_bg_load_from_preferences (manager->priv->bg); | |
+ } | |
screen = gs_window_get_screen (window); | |
width = gdk_screen_get_width (screen); |
@krisek
I tried both versions but i think we want to use your improved version as rhel/centos are using a timing desktop bg (dynamic desktop wallpaper). Do you want to make a pull request?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ krisek
Is your improvement a replacement or should this work on top of origin patch?
I'm a bit confused about that you add bits at a place where it was removed in origin patch.