Making xserver cope with new evdev input device, and the proper dri mesa driver directory.
svn path=/nixos/trunk/; revision=15346
This commit is contained in:
parent
1723eaec3d
commit
bf04b4c7dc
@ -76,6 +76,7 @@ Section "ServerLayout"
|
|||||||
@setCorePointer@
|
@setCorePointer@
|
||||||
Screen "Screen[0]"
|
Screen "Screen[0]"
|
||||||
@serverLayoutOptions@
|
@serverLayoutOptions@
|
||||||
|
Option "AutoAddDevices" "0"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ let
|
|||||||
xorg.xf86inputevdev
|
xorg.xf86inputevdev
|
||||||
]
|
]
|
||||||
++ getAttr ["modules"] [] videoDriverModules
|
++ getAttr ["modules"] [] videoDriverModules
|
||||||
++ (optional cfg.synaptics.enable ["${pkgs.synaptics}/${xorg.xorgserver}" /*xorg.xf86inputevdev*/]);
|
++ (optional cfg.synaptics.enable ["${xorg.xf86inputsynaptics}"]);
|
||||||
|
|
||||||
|
|
||||||
fontsForXServer =
|
fontsForXServer =
|
||||||
@ -447,7 +447,7 @@ rec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
${if videoDriver != "nvidia"
|
${if videoDriver != "nvidia"
|
||||||
then "env XORG_DRI_DRIVER_PATH=${pkgs.mesa}/lib/modules/dri"
|
then "env XORG_DRI_DRIVER_PATH=${pkgs.mesa}/lib/dri"
|
||||||
else ""
|
else ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user