Mouse pointer does not respond when libgeis is active

Asked by Bernard Victor Delvaux

Hello

I have used the Libgeis2 in my software that display the harmonics of the sound in 3D; untill now I use only 1 or 2 touch gestures and it works like a charm; but when the app is running with multitouch running, is it normal that the mouse pointer does not follow the fingers anymore when there is a a single touch? The mouse pointer still follows the mouse command, but I cannot, for example, click on a button of the Gtk GUI of the app, or just change the window focus...

I'm using a filter written like this :

geis_filter_add_term(filter,
         GEIS_FILTER_REGION,
         GEIS_GESTURE_ATTRIBUTE_TOUCHES, GEIS_FILTER_OP_LE, 2,
         NULL);

and I have tried GEIS_FILTER_OP_EQ too without seeing a difference.

If it is normal, please how can i get back single or double click that works natively without geis, when the app with geis is running?

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Geis Edit question
Assignee:
No assignee Edit question
Solved by:
Bernard Victor Delvaux
Solved:
Last query:
Last reply:
Revision history for this message
Chase Douglas (chasedouglas) said :
#1

Hi Victor,

Any time a gesture is detected, no X interaction will occur. For example, if you listen for one finger drag on a trackpad you won't be able to move the cursor while it resides within the window you are listening to gesture events from. This is to prevent one physical interaction from firing two separate events through the system.

Revision history for this message
Bernard Victor Delvaux (nadaeck) said :
#2

Thank you Chase for the answer.

Can I still have the tracking of the mouse pointer outside my App's window, when my app is running?

If yes I suppose I have to create another filter and use the GEIS_FILTER_REGION parameter from the 'GeisFilterFacility' enumeration to make the gestures apply only to my app

Victor

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Chase Douglas (chasedouglas) said :
#4

Hi Victor,

Sorry for the delay in responding!

What you wrote looks correct.

Thanks!

Revision history for this message
Chase Douglas (chasedouglas) said :
#5

Un-expiring

Revision history for this message
Bernard Victor Delvaux (nadaeck) said :
#6

Thank you Chase

Victor