Re: ratpoison and scim

Shawn Betts <[email protected]>
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <87hc0rde19.fsf@darkshtar.i-did-not-set--mail-host-address--so-tickle-me>
Brian May <brian-q50s5p6zN2eXcgI2zpBr/[email protected]> writes:

> That is the C API isn't it? Is there a program already written that
> will do this?

Here's one:

#include <X11/Xlib.h>
void main () {Display *dpy = XOpenDisplay(NULL); Window w; int r; XGetInputFocus(dpy,&w,&r); printf ("%ld %d\n", w, r); XCloseDisplay(dpy);}

don't forget -lX11 when you build it :).

> Is this "Unhandled property notify event" something I should be looking
> at? Or is this normal behaviour?
>
> I think maybe its normal because I see that even when everything is working.

Yeah it's normal. rp gets notified any time a property changes just in
case it's one rp is interested in, like window name. The rest it just
ignores.

-Shawn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.