Move XFree86 DDX XKB actions into dixmods.

This commit is contained in:
Daniel Stone 2006-03-27 21:15:06 +00:00
commit 7257590651
8 changed files with 175 additions and 58 deletions

View file

@ -45,17 +45,9 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/extensions/XKBsrv.h>
#include <X11/extensions/XI.h>
#ifdef XF86DDXACTIONS
#include "xf86.h"
#endif
int
XkbDDXTerminateServer(DeviceIntPtr dev,KeyCode key,XkbAction *act)
{
#ifdef XF86DDXACTIONS
xf86ProcessActionEvent(ACTION_TERMINATE, NULL);
#else
GiveUp(1);
#endif
return 0;
}