aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terminal.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/terminal.c b/terminal.c
index 6d42ce89..bca1a2a4 100644
--- a/terminal.c
+++ b/terminal.c
@@ -858,9 +858,6 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
}
initialize_color_cube(term);
- if (!initialize_render_workers(term))
- goto err;
-
/* Initialize the Wayland window backend */
if ((term->window = wayl_win_init(term)) == NULL)
goto err;
@@ -897,6 +894,8 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
goto err;
}
+ if (!initialize_render_workers(term))
+ goto err;
return term;