[client] wayland: move wayland early init code out of main.c

This commit is contained in:
Geoffrey McRae
2021-01-16 20:31:58 +11:00
parent bad25c409c
commit 9f74bb785e
2 changed files with 24 additions and 6 deletions

View File

@@ -1712,12 +1712,6 @@ static int lg_run(void)
signal(SIGINT , int_handler);
signal(SIGTERM, int_handler);
// Request to receive EPIPE instead of SIGPIPE when one end of a pipe
// disconnects while a write is pending. This is useful to the Wayland
// clipboard backend, where an arbitrary application is on the other end of
// that pipe.
signal(SIGPIPE, SIG_IGN);
// try map the shared memory
if (!ivshmemOpen(&g_state.shm))
{