How to use regions?
Could someone please be kind enough to explain how to use regions?
I would like to receive gesture events on some of my (sub)windows, so I try to create a subscription somewhat like this:
mywindowid = XCreateWindow (....);
Subscription = geis_subscripti
Filter = geis_filter_new (Geis, "filter");
Region = geis_region_new (Geis, "region", GEIS_REGION_
geis_
This works, as long as I leave out the lines marked (*). Of course in that case I have not restricted my gestures to one region, instead catching them system wide (and exclusively, apparently - other applications no longer seem to receive gestures once my application is running).
What is the appropriate way for doing this?
Once I delete the subscription, will the filter and region automatically be deleted as well, or do I need to clean them up manually?
Is there any significance to the names for the various items like "subscription", "filter", and "region"?
Thanks in advance!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Geis Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask H. Guijt for more information if necessary.