summaryrefslogtreecommitdiff
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index dd2eaf08..ab60bd71 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -31,6 +31,7 @@
#include "sway/tree/root.h"
#include "sway/tree/view.h"
#include "sway/tree/workspace.h"
+#include "sway/desktop/fx_renderer.h"
struct sway_output *output_by_name_or_id(const char *name_or_id) {
for (int i = 0; i < root->outputs->length; ++i) {
@@ -868,7 +869,7 @@ void handle_new_output(struct wl_listener *listener, void *data) {
}
if (!wlr_output_init_render(wlr_output, server->allocator,
- server->renderer)) {
+ server->wlr_renderer)) {
sway_log(SWAY_ERROR, "Failed to init output render");
return;
}