XQuartz: A 2 second delay for launchd socket connections should be sufficient.
(cherry picked from commit 2bb4251b3c
)
This commit is contained in:
parent
605a1d1067
commit
0f44d72873
@ -437,8 +437,10 @@ int main(int argc, char **argv, char **envp) {
|
||||
}
|
||||
#else
|
||||
void *add_launchd_display_thread(void *data) {
|
||||
/* TODO: Really fix this race */
|
||||
sleep(5);
|
||||
/* TODO: Really fix this race... we want xinitrc to finish before connections
|
||||
* are accepted on the launchd socket.
|
||||
*/
|
||||
sleep(2);
|
||||
|
||||
/* Start listening on the launchd fd */
|
||||
int launchd_fd = launchd_display_fd();
|
||||
|
Loading…
Reference in New Issue
Block a user