… | |
… | |
1438 | && ev.xfocus.mode != NotifyGrab) |
1438 | && ev.xfocus.mode != NotifyGrab) |
1439 | focus_out (); |
1439 | focus_out (); |
1440 | break; |
1440 | break; |
1441 | |
1441 | |
1442 | case ConfigureNotify: |
1442 | case ConfigureNotify: |
1443 | /*fprintf (stderr, "ConfigureNotify for %X, parent is %X, geom is %dx%d%+d%+d, old geom was %dx%d\n", |
1443 | /*fprintf (stderr, "ConfigureNotify for %X, parent is %X, geom is %dx%d%+d%+d, old geom was %dx%d\n", |
1444 | ev.xconfigure.window, parent[0], ev.xconfigure.width, ev.xconfigure.height, ev.xconfigure.x, ev.xconfigure.y, |
1444 | ev.xconfigure.window, parent[0], ev.xconfigure.width, ev.xconfigure.height, ev.xconfigure.x, ev.xconfigure.y, |
1445 | szHint.width, szHint.height); */ |
1445 | szHint.width, szHint.height);*/ |
1446 | if (ev.xconfigure.window == parent[0]) |
1446 | if (ev.xconfigure.window == parent[0]) |
1447 | { |
1447 | { |
1448 | while (XCheckTypedWindowEvent (dpy, ev.xconfigure.window, ConfigureNotify, &ev)) |
1448 | while (XCheckTypedWindowEvent (dpy, ev.xconfigure.window, ConfigureNotify, &ev)) |
1449 | ; |
1449 | ; |
1450 | |
1450 | |
… | |
… | |
2848 | // versions. |
2848 | // versions. |
2849 | // |
2849 | // |
2850 | tt_printf ("\033[>%d;95;0c", 'U'); |
2850 | tt_printf ("\033[>%d;95;0c", 'U'); |
2851 | } |
2851 | } |
2852 | break; |
2852 | break; |
|
|
2853 | |
2853 | case '?': |
2854 | case '?': |
2854 | if (ch == 'h' || ch == 'l' || ch == 'r' || ch == 's' || ch == 't') |
2855 | if (ch == 'h' || ch == 'l' || ch == 'r' || ch == 's' || ch == 't') |
2855 | process_terminal_mode (ch, priv, nargs, arg); |
2856 | process_terminal_mode (ch, priv, nargs, arg); |
2856 | break; |
2857 | break; |
2857 | } |
2858 | } |
… | |
… | |
3629 | // 1037 send DEL for keypad delete NYI |
3630 | // 1037 send DEL for keypad delete NYI |
3630 | { 1047, PrivMode_Screen }, |
3631 | { 1047, PrivMode_Screen }, |
3631 | // 1048 save and restore cursor |
3632 | // 1048 save and restore cursor |
3632 | { 1049, PrivMode_Screen }, /* xterm extension, clear screen on ti rather than te */ |
3633 | { 1049, PrivMode_Screen }, /* xterm extension, clear screen on ti rather than te */ |
3633 | // 1051, 1052, 1060, 1061 keyboard emulation NYI |
3634 | // 1051, 1052, 1060, 1061 keyboard emulation NYI |
|
|
3635 | { 2004, PrivMode_BracketPaste }, |
3634 | }; |
3636 | }; |
3635 | |
3637 | |
3636 | if (nargs == 0) |
3638 | if (nargs == 0) |
3637 | return; |
3639 | return; |
3638 | |
3640 | |