rename, refactor again.

This commit is contained in:
Christopher Jeffrey 2012-06-03 11:12:30 -05:00
parent 3dfaea3698
commit f358eb5962
1 changed files with 9 additions and 9 deletions

View File

@ -966,15 +966,15 @@ paint_all(Display *dpy, XserverRegion region) {
root_buffer = root_picture; root_buffer = root_picture;
#else #else
if (!root_buffer) { if (!root_buffer) {
Pixmap rootPixmap = XCreatePixmap( Pixmap root_pixmap = XCreatePixmap(
dpy, root, root_width, root_height, dpy, root, root_width, root_height,
DefaultDepth(dpy, scr)); DefaultDepth(dpy, scr));
root_buffer = XRenderCreatePicture(dpy, rootPixmap, root_buffer = XRenderCreatePicture(dpy, root_pixmap,
XRenderFindVisualFormat(dpy, DefaultVisual(dpy, scr)), XRenderFindVisualFormat(dpy, DefaultVisual(dpy, scr)),
0, 0); 0, 0);
XFreePixmap(dpy, rootPixmap); XFreePixmap(dpy, root_pixmap);
} }
#endif #endif