Your solution worked on my laptop (Ubuntu Maverick with
1:2.20110530.1-3ubuntu1 of libxdo-dev and gnome 2).
At first the solution did not work on my desktop (Ubuntu Oneiric with
same package version and gnome 3), it solved the segmentation fault
but didn't find the xclock window.
After some tweaking, I found out the search.max_depth was the cause.
On my laptop the xclock window is at depth 1, where on my desktop it
is at depth 2.
Perhaps a useful addition to the library might be a new_xdo_search
method in analogy with new_xdo?
Thanks for your help,
Bert
P.S. noticed the search.limit field was not present on my laptop's
xdo.h file, which is kind of weird, since the packages have the same
version.
On Mar 13, 7:08 pm, Jordan Sissel <
j...@semicomplete.com> wrote:
> On Tue, Mar 13, 2012 at 8:05 AM, Bert Vankeirsbilck <
bvank...@intec.ugent.be