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:
parent
3dfaea3698
commit
f358eb5962
1 changed files with 9 additions and 9 deletions
|
@ -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 a new issue