Commit 2ada5623 authored by Behdad Esfahbod's avatar Behdad Esfahbod Committed by Behdad Esfahbod

Make shift+insert paste PRIMARY and ctrl+shift+insert paste CLIPBOARD

2006-02-17  Behdad Esfahbod  <behdad@gnome.org>

        * src/vte.c: Make shift+insert paste PRIMARY and ctrl+shift+insert
        paste CLIPBOARD (switched them. bug #123844)
parent 37aff2e7
2006-02-17 Behdad Esfahbod <behdad@gnome.org>
* src/vte.c: Make shift+insert paste PRIMARY and ctrl+shift+insert
paste CLIPBOARD (switched them. bug #123844)
2006-02-17 Behdad Esfahbod <behdad@gnome.org>
* src/vte.c: Better update-timeout handling. Always delay updates
......
......@@ -3951,11 +3951,11 @@ vte_terminal_key_press(GtkWidget *widget, GdkEventKey *event)
case GDK_Insert:
if (terminal->pvt->modifiers & GDK_SHIFT_MASK) {
if (terminal->pvt->modifiers & GDK_CONTROL_MASK) {
vte_terminal_paste_primary(terminal);
vte_terminal_paste_clipboard(terminal);
handled = TRUE;
suppress_meta_esc = TRUE;
} else {
vte_terminal_paste_clipboard(terminal);
vte_terminal_paste_primary(terminal);
handled = TRUE;
suppress_meta_esc = TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment