diff options
Diffstat (limited to 'hw/xquartz/darwin.c')
-rw-r--r-- | hw/xquartz/darwin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/xquartz/darwin.c b/hw/xquartz/darwin.c index 3feacdc05..066f5a596 100644 --- a/hw/xquartz/darwin.c +++ b/hw/xquartz/darwin.c @@ -45,6 +45,7 @@ #include "site.h" #include "globals.h" #include "dix.h" +#include "xkbsrv.h" #include <X11/extensions/XI.h> #include <X11/extensions/XIproto.h> @@ -461,6 +462,11 @@ int DarwinParseModifierList(const char *constmodifiers, int separatelr) */ void InitInput( int argc, char **argv ) { + XkbRMLVOSet rmlvo = { .rules = "base", .model = "empty", .layout = "empty", + .variant = NULL, .options = NULL }; + /* We need to really have rules... or something... */ + XkbSetRulesDflts(&rmlvo); + darwinKeyboard = AddInputDevice(serverClient, DarwinKeybdProc, TRUE); RegisterKeyboardDevice( darwinKeyboard ); darwinKeyboard->name = strdup("keyboard"); |