dmx: fix a call to XkbSetRulesDflts, takes XkbRMLVOSet now.
This commit is contained in:
parent
2cde9208ff
commit
e7c950c627
|
@ -381,12 +381,15 @@ static void dmxKeyboardFreeNames(XkbComponentNamesPtr names)
|
||||||
static int dmxKeyboardOn(DeviceIntPtr pDevice, DMXLocalInitInfo *info)
|
static int dmxKeyboardOn(DeviceIntPtr pDevice, DMXLocalInitInfo *info)
|
||||||
{
|
{
|
||||||
GETDMXINPUTFROMPDEVICE;
|
GETDMXINPUTFROMPDEVICE;
|
||||||
|
XkbRMLVOSet rmlvo;
|
||||||
|
|
||||||
XkbSetRulesDflts(dmxConfigGetXkbRules(),
|
rmlvo.rules = dmxConfigGetXkbRules();
|
||||||
dmxConfigGetXkbModel(),
|
rmlvo.model = dmxConfigGetXkbModel();
|
||||||
dmxConfigGetXkbLayout(),
|
rmlvo.layout = dmxConfigGetXkbLayout();
|
||||||
dmxConfigGetXkbVariant(),
|
rmlvo.variant = dmxConfigGetXkbVariant();
|
||||||
dmxConfigGetXkbOptions());
|
rmlvo.options = dmxConfigGetXkbOptions();
|
||||||
|
|
||||||
|
XkbSetRulesDflts(&rmlvo);
|
||||||
if (!info->force && (dmxInput->keycodes
|
if (!info->force && (dmxInput->keycodes
|
||||||
|| dmxInput->symbols
|
|| dmxInput->symbols
|
||||||
|| dmxInput->geometry)) {
|
|| dmxInput->geometry)) {
|
||||||
|
|
Loading…
Reference in New Issue