aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/backend.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-21 18:08:58 -0400
committerGitHub <noreply@github.com>2017-10-21 18:08:58 -0400
commit24ae081001a5a244a76d87e05af832940d78545f (patch)
tree46e919d43f03aadc0262f17bf9a4028b76c676ae /backend/x11/backend.c
parentce2f945441155fa9d98935dabd6979304f2d2fbc (diff)
parent37b8a096a9907ea9c9991750c75d9fb15e445681 (diff)
Merge pull request #308 from ascent12/render-fixups
Render fixups
Diffstat (limited to 'backend/x11/backend.c')
-rw-r--r--backend/x11/backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index 11dd8568..d30ec376 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -15,7 +15,7 @@
#endif
#include <wlr/backend/interface.h>
#include <wlr/backend/x11.h>
-#include <wlr/egl.h>
+#include <wlr/render/egl.h>
#include <wlr/interfaces/wlr_output.h>
#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_keyboard.h>
@@ -264,7 +264,7 @@ static bool wlr_x11_backend_start(struct wlr_backend *backend) {
output->x11 = x11;
- wlr_output_init(&output->wlr_output, &output_impl);
+ wlr_output_init(&output->wlr_output, &x11->backend, &output_impl);
snprintf(output->wlr_output.name, sizeof(output->wlr_output.name), "X11-1");
output->win = xcb_generate_id(x11->xcb_conn);