From c1a77be7ac711d613eaadacac1779f58cf8b778c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 21 Aug 2011 18:02:00 +0200 Subject: [PATCH] xorg: configure vboxmouse as mouse driver when using vboxvideo driver --- postplug.d/30xorg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/postplug.d/30xorg b/postplug.d/30xorg index ddfaaab..00054a4 100644 --- a/postplug.d/30xorg +++ b/postplug.d/30xorg @@ -294,6 +294,11 @@ if [ "$CONFCREATED" = "1" ]; then Option "DisableGLXRootClipping" "true"' $XORGCONF fi + # configure VirtualBox mouse driver + if [ "$VIDEODRIVER" = "vboxvideo" ]; then + sed -i "s|\"mouse\"|\"vboxmouse\"|" $XORGCONF + fi + # Configure fonts sed -i '/fonts\/Type1/d;s@\(.*X11/fonts.*\)/@\1:unscaled@' $XORGCONF fc-cache