diff options
Diffstat (limited to 'nx-X11/programs/Xserver/xkb/ddxKillSrv.c')
-rw-r--r-- | nx-X11/programs/Xserver/xkb/ddxKillSrv.c | 8 |
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 */ } |