<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="chsdate"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Verdana;
color:windowtext;
font-weight:bold;
font-style:normal;
text-decoration:none none;}
/* Page Definitions */
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 89.85pt 72.0pt 89.85pt;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1 style='layout-grid:15.6pt'>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>Hello, all<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'> I
encountered a Cursor problem when Xinerama is enabled on Ubuntu 9.04 alpha 5
(XServer 1.5.99.3).<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-indent:18.0pt'><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>The
part of xorg.conf as follows:<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>
Section "ServerLayout"<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>
Identifier
"Default Layout"<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>
Screen
0 "Screen0" 0 0<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>
Screen 1
"Screen1" rightof
"Screen0" <o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>
Option "Xinerama"<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-indent:21.0pt'><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>EndSection<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>
I use hardware cursor. But there are two pointers:<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>
Step 1: move cursor from screen0 to screen1. There is hardware cursor on
the edge of Screen0 .And Screen1 has cursor too, seems to be software
cursor. <o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>
Step 2: move cursor back from screen1 to screen0. Two cursor
appears on Screen0, I am sure one of them is hardware cursor. The other seems
to be softwar cursor.<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'> I
compared Xorg 1.5.99.3 with Xorg <st1:chsdate Year="1899" Month="12" Day="30"
IsLunarDate="False" IsROCDate="False" w:st="on">1.5.2</st1:chsdate>,
xf86CursorSetCursor seems to cause the problem. Xf86CursorSetCursor in
Xorg 1.5.99.3 adds judgement “pDev != inputInfo.pointer” . <o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>
For example: Xorg 1.5.99.3 xf86Cursor.c Line 305
if (ScreenPriv->SWCursor || pDev != inputInfo.pointer)<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>
Xorg 1.5.99.3 xf86Cursor.c Line 317 if (pDev ==
inputInfo.pointer)<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-indent:22.5pt'><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>During
my debuging process(move cursor from screen to screen), I found pDev was
never equal to inputInfo.pointer every time xf86CursorSetCursor was called . <o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-indent:22.5pt'><font
size=1 face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial'>What’s
the meaning of inputInfo.pointer? Shouldn’t pDev is equal to
inputInfo.pointer?<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'> Thanks!<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>Best wishes,<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>Gordon<o:p></o:p></span></font></p>
<p class=MsoNormal><b><font size=2 face=Verdana><span lang=EN-US
style='font-size:10.0pt;font-family:Verdana;font-weight:bold'><o:p> </o:p></span></font></b></p>
</div>
</body>
</html>