xkb: Write the _XKB_RULES_NAMES window property synchronously
I can't think of a good reason why this would need to be deferred to the work queue. When we get to this point we're never in the middle of request processing, so we can't corrupt the event/reply stream. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
0a95a8ae62
commit
69d8ea4a49
|
@ -142,7 +142,7 @@ XkbFreeRMLVOSet(XkbRMLVOSet * rmlvo, Bool freeRMLVO)
|
|||
}
|
||||
|
||||
static Bool
|
||||
XkbWriteRulesProp(ClientPtr client, void *closure)
|
||||
XkbWriteRulesProp(void)
|
||||
{
|
||||
int len, out;
|
||||
Atom name;
|
||||
|
@ -235,7 +235,7 @@ XkbSetRulesUsed(XkbRMLVOSet * rmlvo)
|
|||
free(XkbOptionsUsed);
|
||||
XkbOptionsUsed = (rmlvo->options ? Xstrdup(rmlvo->options) : NULL);
|
||||
if (XkbWantRulesProp)
|
||||
QueueWorkProc(XkbWriteRulesProp, NULL, NULL);
|
||||
XkbWriteRulesProp();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user