rename, refactor again.
This commit is contained in:
parent
3dfaea3698
commit
f358eb5962
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue