mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
fc483e0d57
The X server by default looks for it under its own prefix, which isn't right. Not being able to run xkbcomp causes the Xkb keyboard extension to fail (which incidentally is also the reason why Ctrl-Alt-Fn didn't work). svn path=/nixpkgs/trunk/; revision=8494
16 lines
500 B
Diff
16 lines
500 B
Diff
diff -rc xorg-server-X11R7.2-1.2.0-orig/xkb/xkbInit.c xorg-server-X11R7.2-1.2.0/xkb/xkbInit.c
|
|
*** xorg-server-X11R7.2-1.2.0-orig/xkb/xkbInit.c Tue Jan 23 04:13:16 2007
|
|
--- xorg-server-X11R7.2-1.2.0/xkb/xkbInit.c Fri Mar 30 00:52:53 2007
|
|
***************
|
|
*** 923,928 ****
|
|
--- 923,931 ----
|
|
XkbDfltRepeatInterval = (long)atoi(argv[i]);
|
|
return 2;
|
|
}
|
|
+ char *xkbBinDir = getenv("XKB_BINDIR");
|
|
+ if (xkbBinDir)
|
|
+ XkbBinDirectory = _XkbDupString(xkbBinDir);
|
|
return 0;
|
|
}
|
|
|