Game Development Community

Mac OS X using X windows?

by Matthew Shapiro · in Technical Issues · 06/05/2002 (9:38 am) · 2 replies

Yes I know, it seems like I have the attention span of a rat as my topics keep ranging, it's called ADHD ;). heh but really, I really have decent control over it most of the time, which is why this morning i've written my main linux kernel for my 3d engine. I'm not just some freak whose trying to learn everything at one time =D

anyways I was looking at those new Mac OSX ads in magazines and I noticed it showed the processes. What caught my interest was that among other things with an X in front of it, it mentioned xinit, which is the init program for X windows. This leaves me to believe that mac OSX uses X windows system. Is this correct? If so will code for X windows (windowing code, event code since evetns are handled in X) port easily to work in Mac OSX easily?

--KallDrexx

#1
06/05/2002 (9:44 am)
You can run XFree in rootless mode in Aqua if you so wish, which is nice - the alternative is the "big X window" containing all the X apps.

So yes, you can build X apps that run on OS X.

http://www.xdarwin.org/ should be your first stop.

Such discussions often turn to The Gimp, so.. http://www.macgimp.org/
#2
06/05/2002 (9:56 am)
YES!! thanks, looking at that link (and at XDarwin) it sounds like X code works from *nix to OSX (as they said about XDarwin, that instead of letting them open Mac OS9 software in a window, it lets them use most of hte *nix programs out there). That measn I only have to write 2 layers for my 3d engine, a *nix/OSX kernel code and win32 kernel code (kernel code is the code that i'm writing to handle windowing and events, including key presses).

--KallDrexx