server: remove wl_display_init_shm()

This function is called by wlroots in wlr_renderer_init_wl_display(), so
no need to call it again. This stops Qt apps segfaulting when run with
"-platform wayland"

Fixes issue #34 item 2
This commit is contained in:
Johan Malm 2021-06-28 20:42:41 +01:00
parent e05a3c5f65
commit be27bb30a3

View file

@ -249,8 +249,6 @@ server_start(struct server *server)
wlr_log(WLR_DEBUG, "WAYLAND_DISPLAY=%s", socket); wlr_log(WLR_DEBUG, "WAYLAND_DISPLAY=%s", socket);
} }
wl_display_init_shm(server->wl_display);
#if HAVE_XWAYLAND #if HAVE_XWAYLAND
wlr_xwayland_set_seat(server->xwayland, server->seat.seat); wlr_xwayland_set_seat(server->xwayland, server->seat.seat);
#endif #endif