From: root Date: Tue, 24 Jan 2006 17:28:06 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=5c5ba859ab4076597b535c89ef30c565e77b9423;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/Changes b/Changes index 43841fd2..1d2caf6b 100644 --- a/Changes +++ b/Changes @@ -18,6 +18,7 @@ DUMB: support tex fonts TODO: ctrl - mouse button2 in vim makes X freeze (unreproducable with cvs) - don't let iso14755 or mouse reporting get into the way of perl (could lead to global grabs never being cleared). + - moved Shift-Button2 paste combination to Meta-Button2. - removed (unused) arabic presentation form composing sequences. - correctly ask XIM for events it needs to be enabled on the window. diff --git a/doc/rxvt.1.pod b/doc/rxvt.1.pod index 1fe35d89..048fceef 100644 --- a/doc/rxvt.1.pod +++ b/doc/rxvt.1.pod @@ -1192,10 +1192,12 @@ the selection. =item B: -Pressing and releasing the Middle mouse button in an B<@@RXVT_NAME@@> window -causes the value of the PRIMARY selection (Shift for CLIPBOARD) to be inserted -as if it had been typed on the keyboard. -B causes the value of the PRIMARY selection to be inserted too. +Pressing and releasing the Middle mouse button in an B<@@RXVT_NAME@@> +window causes the value of the PRIMARY selection (or CLIPBOARD with the +Meta modifier) to be inserted as if it had been typed on the keyboard. + +Pressing B causes the value of the PRIMARY selection to be +inserted too. =back diff --git a/src/command.C b/src/command.C index 8a36936d..638737eb 100644 --- a/src/command.C +++ b/src/command.C @@ -2144,7 +2144,7 @@ rxvt_term::button_release (XButtonEvent &ev) 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 & ShiftMask ? Sel_Clipboard : Sel_Primary); + selection_request (ev.time, ev.state & ModMetaMask ? Sel_Primary : Sel_Primary); break; #ifdef MOUSE_WHEEL