Re: .X11-unix and the sticky bit
Re: .X11-unix and the sticky bit
- Subject: Re: .X11-unix and the sticky bit
- From: matt shultz <email@hidden>
- Date: Tue, 13 Apr 2004 16:23:47 -0400 (EDT)
> Is there a reason you have to hardcode display 5? Why not detect which
> socket files are already there and choose a display that you know is
> not in use?
We hardcode display 5 so that if a user quits our application and
relaunches we can detect if our X server is running, with specific
options, and we don't have to restart X. This way we check if a X server
is running on display 5 and if it is we assume it's ours and our
application will be able to run under it.
m.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.