Results 1 to 2 of 2
Hi,
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 ...
- 06-16-2006 #1Just Joined!
- Join Date
- May 2006
- Posts
- 24
Moving mouse pointer
Hi,
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
while(1)
{
XWarpPointer(display,win,win,0,0,0,0,del_x,del_y);
sleep(1);
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.
- 06-16-2006 #2
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


Reply With Quote
