… | |
… | |
698 | { |
698 | { |
699 | *--kbuf = C0_ESC; |
699 | *--kbuf = C0_ESC; |
700 | len++; |
700 | len++; |
701 | } |
701 | } |
702 | |
702 | |
|
|
703 | if (HOOK_INVOKE ((this, HOOK_KEY_PRESS, DT_XEVENT, &ev, DT_INT, keysym, DT_STR_LEN, kbuf, len, DT_END))) |
|
|
704 | return; |
|
|
705 | |
703 | if (valid_keysym) |
706 | if (valid_keysym) |
704 | { |
707 | { |
705 | #ifdef KEYSYM_RESOURCE |
708 | #ifdef KEYSYM_RESOURCE |
706 | if (keyboard->dispatch (this, keysym, ev.state, kbuf, len)) |
709 | if (keyboard->dispatch (this, keysym, ev.state, kbuf, len)) |
707 | return; |
710 | return; |
… | |
… | |
870 | scr_printscreen (ctrl | shft); |
873 | scr_printscreen (ctrl | shft); |
871 | return; |
874 | return; |
872 | } |
875 | } |
873 | #endif |
876 | #endif |
874 | } |
877 | } |
875 | |
|
|
876 | if (HOOK_INVOKE ((this, HOOK_KEY_PRESS, DT_XEVENT, &ev, DT_INT, keysym, DT_STR_LEN, kbuf, len, DT_END))) |
|
|
877 | return; |
|
|
878 | |
878 | |
879 | if (len <= 0) |
879 | if (len <= 0) |
880 | return; /* not mapped */ |
880 | return; /* not mapped */ |
881 | |
881 | |
882 | if (option (Opt_scrollTtyKeypress)) |
882 | if (option (Opt_scrollTtyKeypress)) |