Getting Mouse Position

Baha' Ashour bashour at infinitetiers.com
Wed Feb 7 05:29:48 PST 2007


Hello All,

How can i get the position of the mouse cursor?
I'm using the framebuffer to draw something on the screen(desktop), and i want to get the position of the cursor.

ncurses give the cursor position in the terminal, but i need on the screen(desktop).

note:
I'm using c language, and suse 10.1 linux

Thanks.
_______________________________
Baha' Ashour
Software Engineer
Infinite Tiers, Inc. |  www.infinitetiers.com
O: +(972) 9 233-7726 | C: +(972) 599 836-916
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070207/c4fbebe4/attachment.html>


More information about the xorg mailing list