Re: [STUMP] dbus examples?

2013-12-07 Thread Eric Abrahamsen
Evan writes: > I would probably start by checking out this project[1]. I think that > will have everything you need or probably almost everything you need. > > Regards, > E > > [1] https://github.com/lucashpandolfo/upower Huh, that package seems to be built against a different version of dbus th

Re: [STUMP] dbus examples?

2013-12-07 Thread Eric Abrahamsen
Evan writes: > I would probably start by checking out this project[1]. I think that > will have everything you need or probably almost everything you need. > > Regards, > E > > [1] https://github.com/lucashpandolfo/upower That looks exactly right -- thanks for the link! Eric _

Re: [STUMP] Multitouch in StumpWM

2013-12-07 Thread Alexander Popolitov
Yes, I was talking about this series of posts. So, I think, it is indeed a good idea to start implementing XInput in CLX and see, where this will lead. Obviously, grabs on devices are the way to muffle events intended for other windows, I hope, I'll find a way to inject new events as I'll get mo

Re: [STUMP] Multitouch in StumpWM

2013-12-07 Thread Shawn Betts
Hi Alex, Are you talking about this: http://who-t.blogspot.ca/2011/12/multitouch-in-x-getting-events.html If so then what you need to do is implement the X Input 2.2 extension in CLX. It might not actually be all that hard. Hell, maybe someone has already done it? The X protocol is just bits an

Re: [STUMP] dbus examples?

2013-12-07 Thread Evan
I would probably start by checking out this project[1]. I think that will have everything you need or probably almost everything you need. Regards, E [1] https://github.com/lucashpandolfo/upower On Sat, Dec 7, 2013 at 10:05 AM, Eric Abrahamsen wrote: > Hey there, > > I'm trying to get the simp

[STUMP] dbus examples?

2013-12-07 Thread Eric Abrahamsen
Hey there, I'm trying to get the simplest of IM notifications in the mode-line. I use Pidgin, which has very complete Dbus exposure[1], and then there's a dbus library[2] for CL, and then... Does anyone have the faintest idea how to use that library? Here's a (sadly unanswered) google groups post

Re: [STUMP] Multitouch in StumpWM

2013-12-07 Thread Felix Lange
> 2) How does CLX manage to avoid all this fuss with FFI-ying bunch of > C-functions? Perhaps, it's using some yet more lower-level API? CLX does not need to rely on libX11 because it implements the X protocol in Common Lisp. The C code is there because socket APIs differ so much between lisp