aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Args.c
diff options
context:
space:
mode:
authorMathieu Bérard <mathieu.berard@crans.org>2017-02-09 14:05:32 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-15 10:19:06 +0000
commit6884e6a5b0cabdce39005470f4bcd0d960cfc956 (patch)
tree65241ce35eeee929f9a5d6033b493b0ec165a074 /nx-X11/programs/Xserver/hw/nxagent/Args.c
parent0a7df07702c6f56b708a22c666077a3b90c7542c (diff)
downloadnx-libs-6884e6a5b0cabdce39005470f4bcd0d960cfc956.tar.gz
nx-libs-6884e6a5b0cabdce39005470f4bcd0d960cfc956.tar.bz2
nx-libs-6884e6a5b0cabdce39005470f4bcd0d960cfc956.zip
The smart scheduler is not optional.
Backported from X.org: commit 9f9268821b13038556fbc029df54ab0e9b2aa77f Author: Mathieu Bérard <mathieu.berard@crans.org> Date: Mon Aug 11 13:52:38 2008 -0400 The smart scheduler is not optional. Backported-to-NX-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Args.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Args.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c
index 46e01c737..3844fe046 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -2538,26 +2538,10 @@ void nxagentSetBufferSize()
void nxagentSetScheduler()
{
- #ifdef DISABLE_SMART_SCHEDULE
-
- #ifdef SMART_SCHEDULE
-
- #ifdef TEST
- fprintf(stderr, "nxagentSetScheduler: Disabling the smart scheduler.\n");
- #endif
-
- nxagentDisableTimer();
-
- #endif
-
- #else /* #ifdef DISABLE_SMART_SCHEDULE */
-
/*
* The smart scheduler is the default.
*/
- #ifdef SMART_SCHEDULE
-
if (nxagentOption(Shadow) == 1)
{
#ifdef TEST
@@ -2566,10 +2550,6 @@ void nxagentSetScheduler()
nxagentDisableTimer();
}
-
- #endif
-
- #endif /* #ifdef DISABLE_SMART_SCHEDULE */
}
void nxagentSetCoalescence()