mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 05:30:06 +01:00
XQuartz: A 2 second delay for launchd socket connections should be sufficient.
This commit is contained in:
parent
83f7252939
commit
2bb4251b3c
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue