On X11, make middle button pasting PRIMARY selection
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 17 Apr 2012 21:44:51 +0200
changeset 1244 e6b327d5e375
parent 1243 1fc6b3f01e48
child 1245 6e4abfc9dbd5
On X11, make middle button pasting PRIMARY selection
display.rc
--- a/display.rc	Wed Apr 04 16:00:06 2012 +0200
+++ b/display.rc	Tue Apr 17 21:44:51 2012 +0200
@@ -391,6 +391,9 @@
 	"/ while that one puts the pop-up menu both on the middle and right buttons:
 	"/
 	displayDevice buttonTranslation:#(1 2 2 #wheelFwd #wheelBwd 6 7).
+	displayDevice platformName == #X11 ifTrue:[
+	    displayDevice buttonTranslation:#(1 #paste 2 #wheelFwd #wheelBwd 6 7).	
+	].
 
 	"/
 	"/ lefthanders can use: