> Le 5 févr. 2020 à 15:47, Christian Schmitz <supp...@monkeybreadsoftware.de> a 
> écrit:
> 
> No refactor.
> 
> Just make a dummy call in app.open and then use it in the thread.

Yes, that'd be too simple. I'm grabbing the cursor in a loop (it's like a 
screen sharing app). I'll use a timer to get the mouse cursor and share a 
property between the timer and my thread's loop. As always with such a 
technique, race conditions may arise, I'll see.
_______________________________________________
mbsplugins@monkeybreadsoftware.info mailing list
%(list_address)s
https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to