aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-16 23:42:31 +0100
committerUlrich Sibiller <uli42@gmx.de>2020-04-07 13:53:01 +0200
commitfde52a9b773f85c59a3f6473f2fef08fde91016a (patch)
tree995c21b3fe7334999b99efa9b52c1c0b7ebce8d6
parent567e700b14ee6188e2c0b6e54e6ffc15dd97fce4 (diff)
downloadnx-libs-fde52a9b773f85c59a3f6473f2fef08fde91016a.tar.gz
nx-libs-fde52a9b773f85c59a3f6473f2fef08fde91016a.tar.bz2
nx-libs-fde52a9b773f85c59a3f6473f2fef08fde91016a.zip
Screen.c: activate fallback to dix blanking
We have no hardware that could blank the screen for us. So let nxagentSaveScreen return False in some situations to let dix do the default action.
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 52f7d016c..3745c0aec 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -551,7 +551,7 @@ static Bool nxagentSaveScreen(ScreenPtr pScreen, int what)
if (what == SCREEN_SAVER_OFF)
{
- return True;
+ return False;
}
/*
@@ -581,7 +581,7 @@ FIXME: Do we need to check the key grab if the
return True;
}
- return True;
+ return False;
}
Bool nxagentCreateScreenResources(ScreenPtr pScreen)