Capture cursor shape using x-windows API?
How do capture current cursor shape using X11/X-Windows?
How do get current cursor image (RGB or else)using X11/X-Windows? |
Hi,
Welcome to LQ! Quote:
You need to define the desired actions better. What exactly are you trying to do? We will aid you when you help yourself to a solution. Provide us with what you have attempted and then maybe someone will be able to assist. Why do you need to capture the cursor shape? How will the signal for the current cursor image service you? What are you attempting to do? :hattip: |
It looks like VNC, but viewer can't control the actual PC because more then one user has capable to see that PC at a time.
I am capturing Desktop using XGetImage(), but that captured Desktop image (RGB)don't give the cursor. In my requirement I have to show that cursor. Right now I took normal cursor (arrow) data in RGB, get the cursor coordinates using XQueryPoint(), then i am combined both Desktop and Cursor images. If I follow in this way cursor shape is fix for all windows, but in actual PC cursor is change window to window. Users also required to see what cursor is in that PC. |
Please help me for this....
|
All times are GMT -5. The time now is 11:06 PM. |