| 215 |
shm_handler(Display *d, XErrorEvent *e) |
215 |
shm_handler(Display *d, XErrorEvent *e) |
| 243 |
XShmSegmentInfo seg = { 0, -1, (void *)-1, 0 }; |
243 |
XShmSegmentInfo seg = { 0, -1, (void *)-1, 0 }; |
| 244 |
int (*old_handler)(Display *, XErrorEvent *); |
244 |
int (*old_handler)(Display *, XErrorEvent *); |
| 324 |
/* shm failed, fall back to protocol */ |
324 |
/* shm failed, fall back to protocol */ |
| 327 |
XGetSubImage(dpy, readable, x, y, w, h, ~0L, ZPixmap, ximage, 0, 0); |
328 |
XGetSubImage(dpy, readable, x, y, w, h, ~0L, ZPixmap, ximage, 0, 0); |