mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-07 08:38:04 +02:00
Bug #14029: Don't LockDisplay() recursively.
See also Red Hat bugzilla #326461.
This commit is contained in:
parent
e5892467ae
commit
e02e4ccafc
1 changed files with 0 additions and 2 deletions
|
|
@ -368,7 +368,6 @@ XkbRefreshKeyboardMapping(register XkbMapNotifyEvent *event)
|
|||
changes= xkbi->changes;
|
||||
else bzero(&changes,sizeof(changes));
|
||||
XkbNoteMapChanges(&changes,event,XKB_XLIB_MAP_MASK);
|
||||
LockDisplay(dpy);
|
||||
if ((rtrn=XkbGetMapChanges(dpy,xkbi->desc,&changes))!=Success) {
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr,"Internal Error! XkbGetMapChanges failed:\n");
|
||||
|
|
@ -379,7 +378,6 @@ XkbRefreshKeyboardMapping(register XkbMapNotifyEvent *event)
|
|||
xkbi->flags&= ~XkbMapPending;
|
||||
bzero(&xkbi->changes,sizeof(XkbMapChangesRec));
|
||||
}
|
||||
UnlockDisplay(dpy);
|
||||
return rtrn;
|
||||
}
|
||||
return BadMatch;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue