Thread: Is XLib included in all Linux Distros? What about Solaris/OSX?

  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    184

    Is XLib included in all Linux Distros? What about Solaris/OSX?

    I'm looking to get the position of the mouse on the screen. I'm hoping that there's one library that all linux distros use (so i don't have to worry about bundling/requiring any external libraries for this) that can do this. I saw that XLib has a good way to do it but I'm not sure if all distros have it or not.

    Is there a better way?

  2. #2
    Registered User
    Join Date
    Jul 2007
    Posts
    131
    If some system has X, it has Xlib.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Wireless Network Linux & C Testbed
    By james457 in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-11-2009, 12:03 PM
  2. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 09:39 AM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  4. Dabbling with Linux.
    By Hunter2 in forum Tech Board
    Replies: 21
    Last Post: 04-21-2005, 05:17 PM
Website Security Test