Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Sunday 26 of June 2011, Markus Mohrhard wrote:
Hello,

I had some troubles while I was debugging some calc update problems. We
have the environment variable SAL_NO_MOUSEGRAPS that should prevent

 The word is actually grab, not grap.

But we miss it in some places that in my opinion would need this check too
but I don't understand the code well enough to add this check. I would be
happy if someone who is more familiar with the code could have a look at
it:

http://opengrok.libreoffice.org/xref/libs-gui/vcl/unx/generic/dtrans/X11_se
lection.cxx#3317
http://opengrok.libreoffice.org/xref/libs-gui/vcl/unx/generic/dtrans/X11_se
lection.cxx#3340

If there is no one who has enough time to fix this it would be nice if you
could give me some hints what I need to change there to prevent LibreOffice
from grapping the mouse during drag and drop.

 I think you can add it to any XGrabPointer you want, it is after all the 
purpose of the variable. In the DND case you'll just need to alter the 
nPointerGrabSuccess code to continue even when the grab is avoided, and it's 
also a question if DND can work at all without grabbing the mouse - you'll 
need to try and find out.

-- 
 Lubos Lunak
 l.lunak@suse.cz

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.