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