<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Enabling Xinerama with nouveau driver causes Segmentation fault"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66255#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Enabling Xinerama with nouveau driver causes Segmentation fault"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66255">bug 66255</a>
from <span class="vcard"><a class="email" href="mailto:trev.g7pvs@ntlworld.com" title="Trev Jackson <trev.g7pvs@ntlworld.com>"> <span class="fn">Trev Jackson</span></a>
</span></b>
<pre>Hi
I'm not sure about this - I've not done any C programming for a long time, the
bit of code below from panoramiXprocs.c line 1837 where it has:
y < -wBorderWidth((WindowPtr)pDraw)
is there supposed to be a gap between the - symbol and the function?
wBorderWidth call and if so is that likely to cause a problem?
Trev
if( /* check for being onscreen */
screenInfo.screens[0]->x + pDraw->x + x < 0 ||
screenInfo.screens[0]->x + pDraw->x + x + w > PanoramiXPixWidth ||
screenInfo.screens[0]->y + pDraw->y + y < 0 ||
screenInfo.screens[0]->y + pDraw->y + y + h > PanoramiXPixHeight ||
/* check for being inside of border */
x < - wBorderWidth((WindowPtr)pDraw) ||
x + w > wBorderWidth((WindowPtr)pDraw) + (int)pDraw->width ||
y < -wBorderWidth((WindowPtr)pDraw) ||
y + h > wBorderWidth ((WindowPtr)pDraw) + (int)pDraw->height)
return BadMatch;
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>