[Bug 2045] no root window redraw with xcompmgr
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Feb 12 05:02:58 PST 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=2045
------- Additional Comments From jbickers at ihug.co.nz 2005-02-12 05:02 -------
I have what appears to be the same problem with WindowMaker 0.91.0, Xorg 6.8.2,
the radeon driver, and xcompmgr 1.1.1.
I don't know anything about X so this is just speculation, but WindowMaker uses
a temporary display connection to create a pixmap for the _XROOTPMAP_ID root
window property, and if the code in xcompmgr's duplicatePixmap is changed to
create a pixmap using the normal display, then copies the WindowMaker pixmap to
this one instead of using the WindowMaker pixmap directly, it seems to work
better. There still appear to be sync. issues, and the WindowMaker shading
animation is broken, but the background redraw works better.
Something like this, except I don't know how to get the width and height from
the pixmap instead of the display...
Pixmap map;
memcpy(&map, prop, 4);
pixmap = XCreatePixmap(dpy, root, DisplayWidth(dpy, scr),
DisplayHeight(dpy, scr), DefaultDepth(dpy, scr));
XCopyArea(dpy, map, pixmap, DefaultGC(dpy, scr), 0, 0,
DisplayWidth(dpy, scr), DisplayHeight(dpy, scr), 0, 0);
/* memcpy (&pixmap, prop, 4); */
Maybe the radeon driver doesn't like XRenderCreatePicture being called with a
pixmap from WindowMaker's temporary display?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list