mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 01:20:05 +01:00
XQuartz: Fixed missing symbol in quartzKeyboard debugging
(cherry picked from commit 8ad55e484f)
This commit is contained in:
parent
5d7d959b11
commit
c4d290fc54
1 changed files with 2 additions and 1 deletions
|
|
@ -1180,12 +1180,13 @@ Bool QuartzReadSystemKeymap(darwinKeyboardInfo *info) {
|
|||
int is_uchr = 1, i, j;
|
||||
OSStatus err;
|
||||
KeySym *k;
|
||||
CFDataRef currentKeyLayoutDataRef = NULL;
|
||||
|
||||
TISInputSourceRef currentKeyLayoutRef = TISCopyCurrentKeyboardLayoutInputSource();
|
||||
keyboard_type = LMGetKbdType();
|
||||
|
||||
if (currentKeyLayoutRef) {
|
||||
CFDataRef currentKeyLayoutDataRef = (CFDataRef )TISGetInputSourceProperty(currentKeyLayoutRef, kTISPropertyUnicodeKeyLayoutData);
|
||||
currentKeyLayoutDataRef = (CFDataRef )TISGetInputSourceProperty(currentKeyLayoutRef, kTISPropertyUnicodeKeyLayoutData);
|
||||
if (currentKeyLayoutDataRef)
|
||||
chr_data = CFDataGetBytePtr(currentKeyLayoutDataRef);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue