… | |
… | |
676 | { |
676 | { |
677 | char *ch; |
677 | char *ch; |
678 | |
678 | |
679 | for (ch = kbuf; ch < kbuf + len; ch++) |
679 | for (ch = kbuf; ch < kbuf + len; ch++) |
680 | *ch |= 0x80; |
680 | *ch |= 0x80; |
681 | |
|
|
682 | meta = 0; |
|
|
683 | } |
681 | } |
684 | #endif |
682 | #endif |
685 | /* nil */ ; |
683 | /* nil */ ; |
686 | } |
684 | } |
687 | |
685 | |
… | |
… | |
1913 | iso14755_54 (ev.x, ev.y); |
1911 | iso14755_54 (ev.x, ev.y); |
1914 | return; |
1912 | return; |
1915 | } |
1913 | } |
1916 | #endif |
1914 | #endif |
1917 | |
1915 | |
1918 | clickintime = ev.time - MEvent.time < MULTICLICK_TIME; |
1916 | clickintime = ev.time - MEvent.time < multiClickTime; |
1919 | |
1917 | |
1920 | if (reportmode) |
1918 | if (reportmode) |
1921 | { |
1919 | { |
1922 | /* mouse report from vt window */ |
1920 | /* mouse report from vt window */ |
1923 | /* save the xbutton state (for ButtonRelease) */ |
1921 | /* save the xbutton state (for ButtonRelease) */ |
… | |
… | |
2173 | #ifdef MOUSE_REPORT_DOUBLECLICK |
2171 | #ifdef MOUSE_REPORT_DOUBLECLICK |
2174 | /* only report the release of 'slow' single clicks */ |
2172 | /* only report the release of 'slow' single clicks */ |
2175 | if (MEvent.button != AnyButton |
2173 | if (MEvent.button != AnyButton |
2176 | && (ev.button != MEvent.button |
2174 | && (ev.button != MEvent.button |
2177 | || (ev.time - MEvent.time |
2175 | || (ev.time - MEvent.time |
2178 | > MULTICLICK_TIME / 2))) |
2176 | > multiClickTime / 2))) |
2179 | { |
2177 | { |
2180 | MEvent.clicks = 0; |
2178 | MEvent.clicks = 0; |
2181 | MEvent.button = AnyButton; |
2179 | MEvent.button = AnyButton; |
2182 | mouse_report (ev); |
2180 | mouse_report (ev); |
2183 | } |
2181 | } |
… | |
… | |
3094 | scr_insert_mode (1); |
3092 | scr_insert_mode (1); |
3095 | else if (arg[0] == 20) |
3093 | else if (arg[0] == 20) |
3096 | priv_modes |= PrivMode_LFNL; |
3094 | priv_modes |= PrivMode_LFNL; |
3097 | break; |
3095 | break; |
3098 | |
3096 | |
3099 | case CSI_71: // DESCUSR: set cursor style |
3097 | case CSI_71: // DECSCUSR: set cursor style |
3100 | if (prev_ch == ' ') |
3098 | if (prev_ch == ' ') |
3101 | set_cursor_style (arg[0]); |
3099 | set_cursor_style (arg[0]); |
3102 | break; |
3100 | break; |
3103 | |
3101 | |
3104 | /* |
3102 | /* |