tag:blogger.com,1999:blog-6112936277054198647.post3578714214798322884..comments2024-03-12T00:42:06.642+10:00Comments on Who-T: XI2 recipes, Part 4Peter Huttererhttp://www.blogger.com/profile/17204066043271384535noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6112936277054198647.post-24810281645595880672010-10-15T08:14:36.771+10:002010-10-15T08:14:36.771+10:00spoo: please ask for things like that on the xorg-...spoo: please ask for things like that on the xorg-devel mailing list. My blog isn't archived as well.Peter Huttererhttps://www.blogger.com/profile/17204066043271384535noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-3615957671041201742010-10-15T06:13:00.602+10:002010-10-15T06:13:00.602+10:00Ah, okay, thanks. I ended up just going through X...Ah, okay, thanks. I ended up just going through XPending worth of events before actually handling anything.<br /><br />I hate to be a bother, but do you know of anywhere that documents the relative motion events stuff? I've seen references, but despite my googling I haven't been able to find a method for obtaining this data.Unknownhttps://www.blogger.com/profile/05378590448986919221noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-85037875646041293662010-10-13T09:27:19.786+10:002010-10-13T09:27:19.786+10:00spoo:
Unfortunately, we don't have all the lib...spoo:<br />Unfortunately, we don't have all the libX11/... calls in place yet to provide complete replacements. So right now, there is no XI2 equivalent for XCheckIfEvent.Peter Huttererhttps://www.blogger.com/profile/17204066043271384535noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-66111819768230538392010-10-13T08:57:34.230+10:002010-10-13T08:57:34.230+10:00On the x.org XI2 page it lists "Support for r...On the x.org XI2 page it lists "Support for relative motion events". I thought that information might be through valuators, but none of the valuators for my master mouse provided that information. Is there some simple way to do this?<br /><br />Also, with standard XEvents I could use XCheckTypedEvent/XCheckIfEvent to drop redundant events. I assume that I need to use something like XCheckIfEvent if I want to do xcookie.type comparisons, but XCheckIfEvent can't handle this for XI2 because it disallows X function calls in the comparator function, which I assume precludes XGetEventData. How would you recommend dealing with excessive XI2 motion events and such?Unknownhttps://www.blogger.com/profile/05378590448986919221noreply@blogger.com