mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user