Rather than do the cursor -> name translation ourselves in two different places, use the facilities in libXcursor to do it for us. Put the shared piece of code in meta-cursor-tracker, and use it for both server-side and client-side cursor loading.