Commit b2135e58 authored by Kevin E Martin's avatar Kevin E Martin
Browse files

First set of documentation updates.

Include more correct fix for rootless interaction with damage (Bug #1168,
    Keith Packard).
parent d7fef522
......@@ -78,16 +78,12 @@ getDrawableDamageRef (DrawablePtr pDrawable)
{
ScreenPtr pScreen = pDrawable->pScreen;
pPixmap = 0;
if (pScreen->GetWindowPixmap
#ifdef ROOTLESS_WORKAROUND
if (!((WindowPtr)pDrawable)->viewable)
{
static DamagePtr nullDamage = 0;
return &nullDamage;
}
&& ((WindowPtr)pDrawable)->viewable
#endif
pPixmap = 0;
if (pScreen->GetWindowPixmap)
)
pPixmap = (*pScreen->GetWindowPixmap) ((WindowPtr)pDrawable);
if (!pPixmap)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment