in reply to Controlling X cursor
You might take a look at using Inline::C to wrap your already working C.
-- We're looking for people in ATL