Signed-off-by: Alexandr Shadchin <alexandr.shadc...@gmail.com> --- src/lnx_kbd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/lnx_kbd.c b/src/lnx_kbd.c index 63b51d9..5292f77 100644 --- a/src/lnx_kbd.c +++ b/src/lnx_kbd.c @@ -233,7 +233,7 @@ xf86OSKbdPreInit(InputInfoPtr pInfo) f = fopen("/proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes","r"); if (f) { if (fgetc(f) == '0') - pKbd->CustomKeycodes = TRUE; + xf86ReplaceBoolOption(pInfo->options, "CustomKeycodes", TRUE); fclose(f); } } -- 1.7.3.5 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel