diff options
author | kaleb <empty> | 1995-08-24 20:50:56 +0000 |
---|---|---|
committer | kaleb <empty> | 1995-08-24 20:50:56 +0000 |
commit | b101c43f68667f93fb3f2c6c03ff02060e0e3c04 (patch) | |
tree | c8aa46de572503b76687cf30b94be1ea8a96030d | |
parent | 618d30ce2843cc977e696a255675ee323dfff3ce (diff) |
no bug report, make popup menus work even when Num_Lock is on.
-rw-r--r-- | xc/programs/xterm/charproc.c | 48 |
1 files changed, 27 insertions, 21 deletions
diff --git a/xc/programs/xterm/charproc.c b/xc/programs/xterm/charproc.c index 49c248963..8adea3b71 100644 --- a/xc/programs/xterm/charproc.c +++ b/xc/programs/xterm/charproc.c @@ -1,5 +1,5 @@ /* - * $XConsortium: charproc.c,v 1.182 94/08/10 21:53:24 gildea Exp kaleb $ + * $XConsortium: charproc.c,v 1.183 95/04/05 19:59:00 kaleb Exp kaleb $ */ /* @@ -276,26 +276,32 @@ static char * _Font_Selected_ = "yes"; /* string is arbitrary */ */ static char defaultTranslations[] = "\ - Shift <KeyPress> Prior:scroll-back(1,halfpage) \n\ - Shift <KeyPress> Next:scroll-forw(1,halfpage) \n\ -Shift <KeyPress> Select:select-cursor-start() select-cursor-end(PRIMARY, CUT_BUFFER0) \n\ -Shift <KeyPress> Insert:insert-selection(PRIMARY, CUT_BUFFER0) \n\ - ~Meta <KeyPress>:insert-seven-bit() \n\ - Meta <KeyPress>:insert-eight-bit() \n\ - !Ctrl <Btn1Down>:popup-menu(mainMenu) \n\ - !Lock Ctrl <Btn1Down>:popup-menu(mainMenu) \n\ - ~Meta <Btn1Down>:select-start() \n\ - ~Meta <Btn1Motion>:select-extend() \n\ - !Ctrl <Btn2Down>:popup-menu(vtMenu) \n\ - !Lock Ctrl <Btn2Down>:popup-menu(vtMenu) \n\ - ~Ctrl ~Meta <Btn2Down>:ignore() \n\ - ~Ctrl ~Meta <Btn2Up>:insert-selection(PRIMARY, CUT_BUFFER0) \n\ - !Ctrl <Btn3Down>:popup-menu(fontMenu) \n\ - !Lock Ctrl <Btn3Down>:popup-menu(fontMenu) \n\ - ~Ctrl ~Meta <Btn3Down>:start-extend() \n\ - ~Meta <Btn3Motion>:select-extend() \n\ - <BtnUp>:select-end(PRIMARY, CUT_BUFFER0) \n\ - <BtnDown>:bell(0) \ + Shift <KeyPress> Prior:scroll-back(1,halfpage) \n\ + Shift <KeyPress> Next:scroll-forw(1,halfpage) \n\ + Shift <KeyPress> Select:select-cursor-start() select-cursor-end(PRIMARY, CUT_BUFFER0) \n\ + Shift <KeyPress> Insert:insert-selection(PRIMARY, CUT_BUFFER0) \n\ + ~Meta <KeyPress>:insert-seven-bit() \n\ + Meta <KeyPress>:insert-eight-bit() \n\ + !Ctrl <Btn1Down>:popup-menu(mainMenu) \n\ + !Lock Ctrl <Btn1Down>:popup-menu(mainMenu) \n\ + !Lock Ctrl @Num_Lock <Btn1Down>:popup-menu(mainMenu) \n\ + ! @Num_Lock Ctrl <Btn1Down>:popup-menu(mainMenu) \n\ + ~Meta <Btn1Down>:select-start() \n\ + ~Meta <Btn1Motion>:select-extend() \n\ + !Ctrl <Btn2Down>:popup-menu(vtMenu) \n\ + !Lock Ctrl <Btn2Down>:popup-menu(vtMenu) \n\ + !Lock Ctrl @Num_Lock <Btn2Down>:popup-menu(vtMenu) \n\ + ! @Num_Lock Ctrl <Btn2Down>:popup-menu(vtMenu) \n\ + ~Ctrl ~Meta <Btn2Down>:ignore() \n\ + ~Ctrl ~Meta <Btn2Up>:insert-selection(PRIMARY, 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\ + ! @Num_Lock Ctrl <Btn3Down>:popup-menu(fontMenu) \n\ + ~Ctrl ~Meta <Btn3Down>:start-extend() \n\ + ~Meta <Btn3Motion>:select-extend() \n\ + <BtnUp>:select-end(PRIMARY, CUT_BUFFER0) \n\ + <BtnDown>:bell(0) \ "; static XtActionsRec actionsList[] = { |