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

    Thumbs up Moving mouse pointer

    I am new to X11 programming,
    I write one code to move mouse pointer using XWarpPointer it is working.
    Then i write one coe to move mouse pointer across the window continuously it is not working
    del_x +=10;
    del_x +10;
    can anyone suggest how to move the pointer continuously around the window and also how to notify events and handling.

  2. #2
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Next time, please post your code in code tags so it's easier for us to read! =D

    Try calling XFlush after XWarpPointer and see if that works.
    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