2009/11/24 Martin Gansel <ganselmar...@googlemail.com>:
> Drawterm for Linux(I currently run Arch Linux) doesn't allow me to use
> the middle mouse button emulation(Shift + right mouse button).
> For example if I run Acme, I can't exec any command via middle button
> emulation. There is simply no reaction. Is there any known bug?
> Drawterm for Windows works perfectly.
>
> Martin Gansel
>
>

It is not implemented, but it  has an easy solution. I sent the fix
for 9vx to this list some time ago
(http://9fans.net/archive/2009/03/250). I will send to Russ patches
for 9vx and drawterm fixing this issue, but I cannot guarantee when
(or even if) they will be applied.

This was the fix for 9vx:
diff -r a18e9872164b src/9vx/x11/x11-itrans.c
--- a/src/9vx/x11/x11-itrans.c  Wed Dec 10 03:29:15 2008 -0800
+++ b/src/9vx/x11/x11-itrans.c  Mon Mar 09 16:29:39 2009 +0100
@@ -229,7 +229,7 @@
        if(s & Button2Mask)
                m->buttons |= 2;
        if(s & Button3Mask)
-               m->buttons |= 4;
+               m->buttons |= s & ShiftMask ? 2 : 4;
        if(s & Button4Mask)
                m->buttons |= 8;
        if(s & Button5Mask)

You want to apply a similar patch to gui-x11/screen.c

-- 
- yiyus || JGL . 4l77.com

Reply via email to