View Single Post
Old 10-23-2013, 05:35 AM   #14
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by eureka View Post
hawhill nailed it. Just change the C part of luakit to handle mouse click on this area (because taps are recognized by X application as ordinary click of left button).

It's not possible within Lua (if you're don't want to mess with C part beforehand, exposing click event to Lua part). Top right part of status bar is filled by label widgets, which aren't exposing click events by default.
I have no "problem with" hacking any part of it... just needing some guidance, or even a little help. Yep - that (exposing/attaching the click events to labels) was what I (and knc1) were working on last night - plumbing the click events in the labels seemed the perfect solution.. after quite a while of not "getting it done" I passed out but recognised that would be the tidiest solution :\


Quote:
Originally Posted by hawhill View Post
Yeah, that's the clean approach. Grabbing all X server or input events in a separate process is another option, though. A bit messy, since it will need to wade through all events coming in, though.
I can handle messy. "Done" is really all I want at this point...

6 hours sleep in 3 days is hurting my ability to think. At least, that is what I tell myself....
twobob is offline   Reply With Quote