<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<span style="font-family: 'Monospace'; font-size: 9pt;">Jeremy
Whiting wrote:</span>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> On Wed, Nov 16, 2011 at 5:24
PM, Robert Cole <a class="moz-txt-link-rfc2396E" href="mailto:rkcole72984@gmail.com"><rkcole72984@gmail.com></a></span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> wrote:</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> Hello, everyone.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>></span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> I am testing out openSUSE
12.1 in a virtual machine using VirtualBox</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> today. I decided to test
out the Zoom effect of KWin to see how it</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> worked, as it is quite
jumpy on my primary Linux Mint 11 machine. I was</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> amazed at how smooth the
screen panned around while it was zoomed, and</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> this being in a virtual
machine! My main reason for writing this message,</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> however, is that I found
that the mouse pointer does not scale (at least</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> in the virtual machine)
when zoomed in.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> </span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> Interesting. I haven't played
with the kwin zoom effect til today.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> It's quite nice indeed.<br>
</span></p>
<p style="margin: 0px; text-indent: 0px;"><br>
<span style="font-family: 'Monospace'; font-size: 9pt;"></span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">Thanks :-)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;"><br>
> I tried on my real machine, and the cursor</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> did scale, but I noticed it
changed style.<br>
</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;"><br>
</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">The reason for this is that it's
not the real mouse-pointer that is displayed. What we do is to
hide the real mouse-pointer and then draw our own which is 1)
optionally proper scaled to match the zoom-level and, even more
important, 2) the position is adjusted to match to what is
displayed at the screen. What is displayed at the screen is more
or less a fake and not what X.org sees. So, the real
mouse-position, which is controlled by X.org, would be displayed
at a position that does not match to what is displayed. That is
why we need to hide + draw our own and for that we are loading
the cursor-theme. When that does not match to what was displayed
before then no cursor-theme was set in which case we would need
to fallback to the X.org default what we atm don't do.<br>
</span></p>
<p style="margin: 0px; text-indent: 0px;"><br>
<span style="font-family: 'Monospace'; font-size: 9pt;"></span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">So much for the background :-)</span></p>
<br>
<p style="margin: 0px; text-indent: 0px; font-family: 'Monospace';
font-size: 9pt;"></p>
</body>
</html>