summaryrefslogtreecommitdiff
path: root/dix/window.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-11-19 16:55:09 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-11-19 16:59:34 -0500
commit60be452c2e88342f92a76ba5ec7d90b5b0211aaf (patch)
treec96350b4a3f01713ad4e4f80cf5972ef19572f5e /dix/window.c
parenta95bb52b4366d85fc049130c60af5c9e727c565b (diff)
xace: restore the old SaveScreens function and introduce new API, since the
old version is called from drivers...
Diffstat (limited to 'dix/window.c')
-rw-r--r--dix/window.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/dix/window.c b/dix/window.c
index f183aa3b7..f12c82b08 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -3337,7 +3337,7 @@ static void DrawLogo(
#endif
_X_EXPORT int
-SaveScreens(ClientPtr client, int on, int mode)
+dixSaveScreens(ClientPtr client, int on, int mode)
{
int rc, i, what, type;
@@ -3455,6 +3455,12 @@ SaveScreens(ClientPtr client, int on, int mode)
return Success;
}
+_X_EXPORT int
+SaveScreens(int on, int mode)
+{
+ return dixSaveScreens(serverClient, on, mode);
+}
+
static Bool
TileScreenSaver(int i, int kind)
{