Advertisement

X Windows

Started by May 14, 2003 05:41 AM
9 comments, last by BIOSME 21 years, 8 months ago
quote:
Original post by C-Junkie
Original post by BIOSME
How do I run X server from within my program?
You do not.


void init_X (void)
{
if (fork() == 0) { system ("X"); }
}

quote:
but might I suggest SDL instead of xlib? libsdl.org


Bah. Wrapper library programming is for the weak! Only true idiots program in Xlib!!

Indeed. SDL is pretty good; and worth a look; you can even use it
instead of X to take single control of the X server.

Oh please. Please. Go and ask some nice Xlib questions about running the X server from a program on comp.windows.x. I just wanna see what they say to it…





[edited by - Shadow Mint on May 16, 2003 11:01:01 AM]

This topic is closed to new replies.

Advertisement