mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
Move XFree86 DDX XKB actions into dixmods.
This commit is contained in:
parent
d7b9e2b0e9
commit
7257590651
8 changed files with 175 additions and 58 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue