<div class="gmail_extra">Hi,<br><div class="gmail_quote"><br>I was studying in a datatip codes and found a bug that happened when the user wants to drag a datatip. Initially, I thought there was some problem with the file datatipMove.sci.<br>
<br>After performing some tests, I found that the error is in the xgetmouse function, which is not providing coordinate data correctly (always returns 0 and 0).<br>
<br>After running git blame on sci_xgetmouse.c, I discovered that the bug 
was introduced during commit" 582dead8368ac857e5b3ddd1c64360<div>716da76887<br><br>I checked a few lines that were commented out and that the "pixelCoords" was not being passed to the scilab stack.<br>
<br>After these changes the function xgetmouse is working well and datatip bug no longer exists. Now you can drag datatip normally.<br><br>I do not know if the rows removed lines in my patch have to do with coordinates in sub-plots, but according to my tests everything seems to be working fine.<br>

<br>Should I open a bug, even though I am already submitting a patch?<br><br>Also, do you think I should leave the commented-out lines?<br>I am not sure if they can be useful in the future. <br>

<br>Thanks<span class="HOEnZb"><font color="#888888"><br><span><font color="#888888">Marcos Cardinot</font></span><br></font></span></div><br>
</div><br></div>