diff options
Diffstat (limited to 't_tsrccoords2.c')
-rw-r--r-- | t_tsrccoords2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t_tsrccoords2.c b/t_tsrccoords2.c index 4449dca..0d83fd5 100644 --- a/t_tsrccoords2.c +++ b/t_tsrccoords2.c @@ -43,7 +43,7 @@ static picture_info *create_target_picture(Display *dpy) p = malloc(sizeof(picture_info)); - p->d = XCreatePixmap(dpy, RootWindow(dpy, 0), 5, 5, 32); + p->d = XCreatePixmap(dpy, DefaultRootWindow(dpy), 5, 5, 32); p->format = XRenderFindStandardFormat(dpy, PictStandardARGB32); p->pict = XRenderCreatePicture(dpy, p->d, p->format, 0, NULL); p->name = "target picture"; |