… | |
… | |
1049 | make_current (); |
1049 | make_current (); |
1050 | |
1050 | |
1051 | display->flush (); |
1051 | display->flush (); |
1052 | |
1052 | |
1053 | if (want_refresh && !flush_ev.active) |
1053 | if (want_refresh && !flush_ev.active) |
1054 | flush_ev.start (1. / 60.); // refresh at max. 60 hz normally |
1054 | flush_ev.start (1. / 60.); // refresh at max. 60 Hz normally |
1055 | } |
1055 | } |
1056 | |
1056 | |
1057 | void |
1057 | void |
1058 | rxvt_term::flush_cb (ev::timer &w, int revents) |
1058 | rxvt_term::flush_cb (ev::timer &w, int revents) |
1059 | { |
1059 | { |
… | |
… | |
2751 | nargs = 0; |
2751 | nargs = 0; |
2752 | |
2752 | |
2753 | priv = 0; |
2753 | priv = 0; |
2754 | ch = cmd_getc (); |
2754 | ch = cmd_getc (); |
2755 | if (ch >= '<' && ch <= '?') |
2755 | if (ch >= '<' && ch <= '?') |
|
|
2756 | { |
2756 | { /* '<' '=' '>' '?' */ |
2757 | /* '<' '=' '>' '?' */ |
2757 | priv = ch; |
2758 | priv = ch; |
2758 | ch = cmd_getc (); |
2759 | ch = cmd_getc (); |
2759 | } |
2760 | } |
2760 | |
2761 | |
2761 | /* read any numerical arguments */ |
2762 | /* read any numerical arguments */ |
… | |
… | |
3894 | rxvt_term::process_graphics () |
3895 | rxvt_term::process_graphics () |
3895 | { |
3896 | { |
3896 | unicode_t ch, cmd = cmd_getc (); |
3897 | unicode_t ch, cmd = cmd_getc (); |
3897 | |
3898 | |
3898 | if (cmd == 'Q') |
3899 | if (cmd == 'Q') |
|
|
3900 | { |
3899 | { /* query graphics */ |
3901 | /* query graphics */ |
3900 | tt_printf ("\033G0\012"); /* no graphics */ |
3902 | tt_printf ("\033G0\012"); /* no graphics */ |
3901 | return; |
3903 | return; |
3902 | } |
3904 | } |
3903 | /* swallow other graphics sequences until terminating ':' */ |
3905 | /* swallow other graphics sequences until terminating ':' */ |
3904 | do |
3906 | do |