bug with pasting from clipboard
Serge (gentoosiast) Koksharov
gentoosiast at yandex.ru
Mon Jan 29 18:02:59 CET 2007
Hello,
I'm discovered that pasting text from clipboard with Meta + Middle Mouse
Button don't work in rxvt-unicode 8.1. Attached patch fixes this.
Best wishes
--
Serge Koksharov, Free Software user & supporter
GPG public key ID: 0x3D330896 (pgp.mit.edu)
Key fingerprint: 5BC4 0475 CB03 6A31 0076 82C2 C240 72F0 3D33 0896
-------------- next part --------------
diff -x tags -x cscope.out -Naur rxvt-unicode-8.1/src/command.C rxvt-unicode-8.1_fixed/src/command.C
--- rxvt-unicode-8.1/src/command.C 2006-12-07 23:38:45.000000000 +0300
+++ rxvt-unicode-8.1_fixed/src/command.C 2007-01-29 19:52:11.000000000 +0300
@@ -2158,7 +2158,7 @@
case Button2:
if (IN_RANGE_EXC (ev.x, 0, width) && IN_RANGE_EXC (ev.y, 0, height)) // inside window?
- selection_request (ev.time, ev.state & ModMetaMask ? Sel_Primary : Sel_Primary);
+ selection_request (ev.time, ev.state & ModMetaMask ? Sel_Clipboard : Sel_Primary);
break;
#ifdef MOUSE_WHEEL
More information about the rxvt-unicode
mailing list