[or-cvs] r17036: {incognito} Workaround for the VMWare issue that makes single-clicks int (incognito/trunk/root_overlay/var/patches)

anonym at seul.org anonym at seul.org
Thu Oct 2 15:44:29 UTC 2008


Author: anonym
Date: 2008-10-02 11:44:29 -0400 (Thu, 02 Oct 2008)
New Revision: 17036

Modified:
   incognito/trunk/root_overlay/var/patches/xorg.conf.in.patch
Log:
Workaround for the VMWare issue that makes single-clicks into double-clicks.


Modified: incognito/trunk/root_overlay/var/patches/xorg.conf.in.patch
===================================================================
--- incognito/trunk/root_overlay/var/patches/xorg.conf.in.patch	2008-10-02 14:25:51 UTC (rev 17035)
+++ incognito/trunk/root_overlay/var/patches/xorg.conf.in.patch	2008-10-02 15:44:29 UTC (rev 17036)
@@ -1,6 +1,6 @@
---- etc/X11/xorg.conf.in.orig	2008-07-31 14:42:24.000000000 +0200
-+++ etc/X11/xorg.conf.in	2008-07-31 14:42:53.000000000 +0200
-@@ -1,6 +1,7 @@
+--- etc/X11/xorg.conf.in.orig	2008-10-02 17:31:33.000000000 +0200
++++ etc/X11/xorg.conf.in	2008-10-02 17:39:54.000000000 +0200
+@@ -1,11 +1,13 @@
  Section "ServerLayout"
 -	Identifier	"X.Org Configured"
 +	Identifier	"Automatically Configured"
@@ -9,7 +9,59 @@
  	InputDevice	"Keyboard0" "CoreKeyboard"
  	InputDevice	"PS/2 Mouse" "AlwaysCore"
  #	InputDevice	"Serial Mouse" "AlwaysCore"
-@@ -164,6 +165,11 @@
+ 	InputDevice	"USB Mouse" "AlwaysCore"
+ 	InputDevice	"Synaptics" "AlwaysCore"
++	InputDevice	"VMWareClickFix"
+ EndSection
+ 
+ Section "ServerFlags"
+@@ -94,6 +96,7 @@
+ Section "InputDevice"
+ 	Identifier	"Serial Mouse"
+ 	Driver	"mouse"
++	Option	"CorePointer"
+ 	Option	"Protocol" "Microsoft"
+ 	Option	"Device" "/dev/ttyS0"
+ 	Option	"Emulate3Buttons" "true"
+@@ -104,6 +107,7 @@
+ Section "InputDevice"
+ 	Identifier	"PS/2 Mouse"
+ 	Driver	"mouse"
++	Option	"CorePointer"
+ 	Option	"Protocol" "IMPS/2"
+ 	Option	"Device" "/dev/misc/psaux"
+ 	Option	"Emulate3Buttons" "true"
+@@ -115,6 +119,7 @@
+ Section "InputDevice"
+ 	Identifier	"USB Mouse"
+ 	Driver	"mouse"
++	Option	"CorePointer"
+ 	Option	"Device" "/dev/input/mice"
+ 	Option	"SendCoreEvents" "true"
+ 	Option	"Protocol" "IMPS/2"
+@@ -125,6 +130,7 @@
+ Section "InputDevice"
+ 	Identifier	"Synaptics"
+ 	Driver	"synaptics"
++	Option	"CorePointer"
+ 	Option	"Protocol" "event"
+ 	Option	"Device" "@@SYNDEV@@"
+ 	Option	"LeftEdge" "1900"
+@@ -142,6 +148,13 @@
+ 	Option	"SHMConfig" "on"
+ EndSection
+ 
++# It seems this device is necessary (and that all other pointer devices have 
++# Option "CorePointer") for fixing the VMWare double-click issue.
++Section "InputDevice"
++	Identifier	"VMWareClickFix"
++	Driver "void"
++EndSection
++
+ # Auto-generated by mkxf86config
+ @@MONITOR@@
+ 
+@@ -164,6 +177,11 @@
  #	BusID       "PCI:1:0:0"
  EndSection
  
@@ -21,7 +73,7 @@
  Section "Screen"
  	Identifier	"Screen0"
  	Device	"Card0"
-@@ -199,6 +205,41 @@
+@@ -199,6 +217,41 @@
  	EndSubSection
  EndSection
  



More information about the tor-commits mailing list