PDA

View Full Version : X11 Programming



glitch83
August 13th, 2008, 07:49 PM
Wow. Talk about a serious lack of documentation. I've been searching for how to get the mouse position and the screen resolution for about 2 hours now. x.org is a wiki and directs all development inquiries to it's own development wiki pages.

More specifically - Does anyone have an x.org equivalent for GetCursorPos and GetSystemMetrics from Win32 development?

We're trying to port code and documentation has been a serious issue here.

~Nick

happysmileman
August 13th, 2008, 09:16 PM
Is there any reason you're using X11 directly?
Would it not make much more sense to port the code to GTK2 or Qt?

red_Marvin
August 13th, 2008, 09:27 PM
I suspect this page might be somewhat old, but it's quite through. (I'm stuck at colour managment though.)
EDIT: forgot the link: http://www.sbin.org/doc/Xlib/