diff options
author | toni <matzeton@googlemail.com> | 2014-10-14 15:36:45 +0200 |
---|---|---|
committer | toni <matzeton@googlemail.com> | 2014-10-14 15:36:45 +0200 |
commit | d0019d2bd0005d0cf50accda1f2197c85f8fc555 (patch) | |
tree | a6b2e9961dacb053b90911448c004e9887f4ba5e /patches/xterm_copynpaste_hack.patch | |
parent | a3550702293b2965683f7379ea9232526f666b61 (diff) |
added xterm copy&paste patch
Diffstat (limited to 'patches/xterm_copynpaste_hack.patch')
-rw-r--r-- | patches/xterm_copynpaste_hack.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/patches/xterm_copynpaste_hack.patch b/patches/xterm_copynpaste_hack.patch new file mode 100644 index 0000000..b301142 --- /dev/null +++ b/patches/xterm_copynpaste_hack.patch @@ -0,0 +1,29 @@ +--- a/charproc.c ++++ b/charproc.c +@@ -9049,6 +9049,8 @@ + Shift <KeyPress> Next:scroll-forw(1,halfpage) \n\ + Shift <KeyPress> Select:select-cursor-start() select-cursor-end(SELECT, CUT_BUFFER0) \n\ + Shift <KeyPress> Insert:insert-selection(SELECT, CUT_BUFFER0) \n\ ++ Shift <KeyPress> Select:select-cursor-start() select-cursor-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\ ++ Shift <KeyPress> Insert:insert-selection(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\ + " + }, + #if OPT_MAXIMIZE +@@ -9099,7 +9101,7 @@ + ! @Num_Lock Ctrl <Btn2Down>:popup-menu(vtMenu) \n\ + ~Ctrl ~Meta <Btn2Down>:ignore() \n\ + Meta <Btn2Down>:clear-saved-lines() \n\ +- ~Ctrl ~Meta <Btn2Up>:insert-selection(SELECT, CUT_BUFFER0) \n\ ++ ~Ctrl ~Meta <Btn2Up>:insert-selection(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\ + !Ctrl <Btn3Down>:popup-menu(fontMenu) \n\ + !Lock Ctrl <Btn3Down>:popup-menu(fontMenu) \n\ + !Lock Ctrl @Num_Lock <Btn3Down>:popup-menu(fontMenu) \n\ +@@ -9128,7 +9130,7 @@ + False, + "default", + "\ +- <BtnUp>:select-end(SELECT, CUT_BUFFER0) \n\ ++ <BtnUp>:select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\ + <BtnDown>:ignore() \ + " + } |