Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    how can my application

    I studied XSendEvent but that function is useful only when we know the windowid i dont want that my application has to move the pointer and implement single or double click without specific to any window and without interface to the device.
    Can you please specify any APIs are there to implement this.

  2. #2
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    man XWarpPointer
    man XQueryPointer
    XWarpPointer moves the pointer.
    XQueryPointer finds out what window it's in.

    If I understand your needs correctly, these are all you need in conjunction with XSendEvent to do what you want.
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts