[07:05] <oSoMoN> good morning
[18:53] <Saviq> greyback: re XPending, I'm talking `if(XPending() > 0) { while (XNextEvent()) {} }`
[18:53] <Saviq> and have that in a slot for QSocketNotifier.activated() on ConnectionNumber()
[18:53] <greyback> Saviq: yep! I am mid-way of fixing that comment, is wrong
[18:53] <Saviq> greyback: ConnectionNumber() gives you a fd of the X connection
[18:54] <Saviq> while (XPending) { while (XNextEvent) }} doesn't really make sense
[18:54] <greyback> Saviq: Yeah that was rubbish, sorry
[18:54] <Saviq> no worries
[18:54] <Saviq> [...] you can then put a QSocketNotifier on that fd
[18:55] <greyback> I meant while(true){ if (XPending() > 0){ while (XNextEvent()) {  ... }}}
[18:55] <Saviq> that will fire activated() whenever that fd is ready to be read
[18:55] <greyback> but it works badly
[18:55] <Saviq> yeah, it just loops
[18:55] <greyback> Yeah, I understand
[18:57] <Saviq> greyback: I only learned that while working on gestures recently, so that was a big facepalm :)
[18:57] <greyback> Saviq: it's a much nicer solution than what I was trying anyway
[19:00] <Saviq> greyback: and what I initially wrote, too
[19:00] <greyback> Saviq: are you working on it now? Or something related?
[19:01] <greyback> I don't want to duplicate your work again
[19:01] <Saviq> greyback: no, just seen your comment on the merge
[19:01] <greyback> Saviq: ok. Comment hudely appreciated!
[19:01] <greyback> hugely even
[19:01] <Saviq> greyback: should be easy
[19:02] <greyback> Saviq: doing it now :)
[19:04] <Saviq> greyback: GestureHandler in launcher does ~that now
[19:04] <Saviq> just with fd from utouch, not X
[19:04] <greyback> Saviq: I see. Will check it out