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

This commit is contained in:
Geoffrey McRae committed 2021-01-16 20:41:13 +11:00
1 parent bad25c409c
commit 9f74bb785e
2 files changed
+24 -6

No files matched your search

-6
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))
{