I’m experiencing something pretty annoying when using my GUI app alongside other programs.
When I click on another window than the actual app, its stops running. I thought this had something to do with the setWantsKeyboardFocus() method but it doesn’t.
To put the question in context : I’m making a “bridge” app between a Leap motion and a plugin using osc messages. I’m displaying the coordinates of my hand on the GUI of the app but as my plugin window comes in front of it, those coordinates freese and stop refreshing (the whole app stops running in fact, not only the GUI).
Does anyone has a clue ?
PS: it used to be the same thing when running a console app, I thought the problem wouldn’t happend with a GUI app but it does.