mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-04 18:50:27 +01:00
XQuartz: Always use TIS for the keyboard layout seed since KB* aren't thread safe.
This commit is contained in:
parent
01b3a99dff
commit
c8244177b0
1 changed files with 2 additions and 1 deletions
|
|
@ -1103,7 +1103,8 @@ Bool LegalModifier(unsigned int key, DeviceIntPtr pDev)
|
|||
/* TODO: Not thread safe */
|
||||
unsigned int QuartzSystemKeymapSeed(void) {
|
||||
static unsigned int seed = 0;
|
||||
#if defined(__x86_64__) || defined(__ppc64__)
|
||||
//#if defined(__x86_64__) || defined(__ppc64__)
|
||||
#if 1
|
||||
static TISInputSourceRef last_key_layout = NULL;
|
||||
TISInputSourceRef key_layout;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue