| 948 | } |
| 949 | |
| 950 | void |
| 951 | X11_curs(winid window, int x, int y) |
| 952 | { |
| 953 | check_winid(window); |
| 954 | |
| 955 | if (x < 0 || x >= COLNO) { |
| 956 | impossible("curs: bad x value [%d]", x); |
| 957 | x = 0; |
| 958 | } |
| 959 | if (y < 0 || y >= ROWNO) { |
| 960 | impossible("curs: bad y value [%d]", y); |
| 961 | y = 0; |
| 962 | } |
| 963 | |
| 964 | window_list[window].cursx = x; |
| 965 | window_list[window].cursy = y; |
| 966 | } |
| 967 | |
| 968 | void |
| 969 | X11_putstr(winid window, int attr, const char *str) |
nothing calls this directly
no test coverage detected