summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFaidon Liambotis <[email protected]>2015-09-15 01:33:40 +0300
committerFaidon Liambotis <[email protected]>2015-09-15 01:33:40 +0300
commite53692cc3700b4987812718d03894addda3a4117 (patch)
tree717ae2e3dce436ac98fef663208fca2bdc8e98ea /src
parentca6e8d35f029cc22dba9ff0a9be8a873e30aa7d2 (diff)
downloadmate-screensaver-e53692cc3700b4987812718d03894addda3a4117.tar.bz2
mate-screensaver-e53692cc3700b4987812718d03894addda3a4117.tar.xz
Don't fade to black when locking the screen
Fading to black has negative security consequences: the screen locking and actual suspend race with each other, and this can result in the screen's contents being briefly visible after resume. This has been reported as #54 but has been known and patched for in Debian/Ubuntu since at least 2010 (see LP 546578).
Diffstat (limited to 'src')
-rw-r--r--src/gs-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gs-manager.c b/src/gs-manager.c
index dc3bce5..769e743 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -1842,7 +1842,7 @@ gs_manager_activate (GSManager *manager)
manager->priv->active = TRUE;
/* fade to black and show windows */
- do_fade = TRUE;
+ do_fade = FALSE;
if (do_fade)
{
manager->priv->fading = TRUE;