… | |
… | |
2243 | int x, y, z; |
2243 | int x, y, z; |
2244 | int w, h; |
2244 | int w, h; |
2245 | int x1, y1; |
2245 | int x1, y1; |
2246 | |
2246 | |
2247 | if (*data++ != 0) |
2247 | if (*data++ != 0) |
2248 | return; /* version mismatch */ |
2248 | XSRETURN_EMPTY; /* version mismatch */ |
2249 | |
2249 | |
2250 | w = *data++ << 8; w |= *data++; |
2250 | w = *data++ << 8; w |= *data++; |
2251 | h = *data++ << 8; h |= *data++; |
2251 | h = *data++ << 8; h |= *data++; |
2252 | |
2252 | |
2253 | // we need to do this 'cause we don't keep an absolute coord system for rows |
2253 | // we need to do this 'cause we don't keep an absolute coord system for rows |