[RFC PATCH] randr: crtc cursor confinement

Mikhail Gusarov dottedmag at dottedmag.net
Tue Oct 12 15:34:45 PDT 2010


Twas brillig at 23:22:09 12.10.2010 UTC+04 when dottedmag at dottedmag.net did gyre and gimble:

 MG> /* Depth-first search and mark all CRTCs reachable from cur */
 MG> static void
 MG> dfs (rrScrPrivPtr pScrPriv, int *reachable, int cur)
 MG> {
 MG>     int i;
 MG>     reachable[cur] = TRUE;
 MG>     for (i = 0; i < pScrPriv->numCrtcs; ++i) {
 MG>         if (reachable[i])
 MG>             continue;

Should read as

if (reachable[i] || !pScrPriv->crtcs[i]->mode)
    continue;

-- 
  http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101013/26a10b70/attachment-0001.pgp>


More information about the xorg-devel mailing list