… | |
… | |
1696 | unsigned char *prop = NULL; |
1696 | unsigned char *prop = NULL; |
1697 | int result = XGetWindowProperty (dpy, display->root, xa[prop_id], |
1697 | int result = XGetWindowProperty (dpy, display->root, xa[prop_id], |
1698 | 0L, 1L, False, XA_PIXMAP, &atype, &aformat, |
1698 | 0L, 1L, False, XA_PIXMAP, &atype, &aformat, |
1699 | &nitems, &bytes_after, &prop); |
1699 | &nitems, &bytes_after, &prop); |
1700 | if (result == Success && prop && atype == XA_PIXMAP) |
1700 | if (result == Success && prop && atype == XA_PIXMAP) |
1701 | { |
|
|
1702 | return *(Pixmap *)prop; |
1701 | return *(Pixmap *)prop; |
1703 | } |
|
|
1704 | } |
1702 | } |
|
|
1703 | |
1705 | return None; |
1704 | return None; |
1706 | } |
1705 | } |
1707 | |
1706 | |
1708 | #ifdef HAVE_BG_PIXMAP |
1707 | #ifdef HAVE_BG_PIXMAP |
1709 | # if TRACE_PIXMAPS |
1708 | # if TRACE_PIXMAPS |