aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/xkb/ddxKillSrv.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:47:28 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:47:28 +0200
commit713da22603c4abc7a97feddd931f29c507b7984b (patch)
tree5b430f9a7ebb2dea29ed4395fb6c8ee67f87af52 /nx-X11/programs/Xserver/xkb/ddxKillSrv.c
parent3d1c57d5ef429e51ab7a626540c30b81e74a8f17 (diff)
downloadnx-libs-713da22603c4abc7a97feddd931f29c507b7984b.tar.gz
nx-libs-713da22603c4abc7a97feddd931f29c507b7984b.tar.bz2
nx-libs-713da22603c4abc7a97feddd931f29c507b7984b.zip
Imported nx-X11-3.2.0-1.tar.gznx-X11/3.2.0-1
Summary: Imported nx-X11-3.2.0-1.tar.gz Keywords: Imported nx-X11-3.2.0-1.tar.gz into Git repository
Diffstat (limited to 'nx-X11/programs/Xserver/xkb/ddxKillSrv.c')
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxKillSrv.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/xkb/ddxKillSrv.c b/nx-X11/programs/Xserver/xkb/ddxKillSrv.c
index ee0acb028..b78dc420d 100644
--- a/nx-X11/programs/Xserver/xkb/ddxKillSrv.c
+++ b/nx-X11/programs/Xserver/xkb/ddxKillSrv.c
@@ -52,10 +52,18 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
int
XkbDDXTerminateServer(DeviceIntPtr dev,KeyCode key,XkbAction *act)
{
+#ifdef NXAGENT_SERVER
+
+ return 0;
+
+#else
+
#ifdef XF86DDXACTIONS
xf86ProcessActionEvent(ACTION_TERMINATE, NULL);
#else
GiveUp(1);
#endif
return 0;
+
+#endif /* NXAGENT_SERVER */
}