<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#FFFFFF" bgcolor="#000000">
<font size="+1">Hey Luca,<br>
<br>
The performance problem you are experiencing is probably the
latency introduced by getting the mousepointer position via the
mousepoll plugin and a Mousepoller, which has problems to deliver
the position updates smoothly.<br>
Mousepoll tries to solve the problem of not calling XQueryPointer
() from individual plugins directly, but to centralize those
calls, as they are blocking and can sometimes take up to (as tests
showed here) 200 nanoseconds to complete.<br>
Nevertheless Mousepoll was a bad solution to a real problem - try
to simply update the mousecursor position by calling </font><font
size="+1">XQueryPointer () in preparePaint (), which is called
directly before painting, so each 16666 nanoseconds</font><br>
<font size="+1">at 60fps and is only enabled via setFunctions () if
the showmouse plugin (rulers or particles) is active.<br>
<br>
Greetinx.<br>
</font>
</body>
</html>