1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00

rename, refactor again.

This commit is contained in:
Christopher Jeffrey 2012-06-03 11:12:30 -05:00
parent 3dfaea3698
commit f358eb5962

View file

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