mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-02 14:17:58 +02:00
parent
cfcafbe48d
commit
7672bf93bc
1 changed files with 8 additions and 2 deletions
|
|
@ -718,7 +718,10 @@ XkbGetKeyExplicitComponents( Display * dpy,
|
|||
if ((num>0)&&(first>=xkb->min_key_code)&&(first+num<=xkb->max_key_code))
|
||||
bzero(&xkb->server->explicit[first],num);
|
||||
}
|
||||
status= _XkbHandleGetMapReply(dpy, xkb);
|
||||
if (xkb)
|
||||
status= _XkbHandleGetMapReply(dpy, xkb);
|
||||
else
|
||||
status = BadMatch;
|
||||
|
||||
UnlockDisplay(dpy);
|
||||
SyncHandle();
|
||||
|
|
@ -747,7 +750,10 @@ XkbGetKeyModifierMap(Display *dpy,unsigned first,unsigned num,XkbDescPtr xkb)
|
|||
if ((num>0)&&(first>=xkb->min_key_code)&&(first+num<=xkb->max_key_code))
|
||||
bzero(&xkb->map->modmap[first],num);
|
||||
}
|
||||
status= _XkbHandleGetMapReply(dpy, xkb);
|
||||
if (xkb)
|
||||
status= _XkbHandleGetMapReply(dpy, xkb);
|
||||
else
|
||||
status = BadMatch;
|
||||
|
||||
UnlockDisplay(dpy);
|
||||
SyncHandle();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue