aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorsdilts <stuart.dilts@gmail.com>2018-08-10 18:05:34 -0600
committersdilts <stuart.dilts@gmail.com>2018-08-10 18:05:34 -0600
commit8e7df5eb88dd5ec682b3293bf02a4a7b09c59489 (patch)
tree93a7eee86575991654939d4f486ce6ec988cd448 /backend
parentda79fef5f7d3fc7a27b5813e2e94bcf28b54da8b (diff)
Fix xcb_create_window parameters
Set the window width and height, not the location of the window.
Diffstat (limited to 'backend')
-rw-r--r--backend/x11/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index 867a3594..b678296d 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -140,7 +140,7 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) {
};
output->win = xcb_generate_id(x11->xcb_conn);
xcb_create_window(x11->xcb_conn, XCB_COPY_FROM_PARENT, output->win,
- x11->screen->root, wlr_output->width, wlr_output->height, 1024, 768, 1,
+ x11->screen->root, 0, 0, wlr_output->width, wlr_output->height, 1,
XCB_WINDOW_CLASS_INPUT_OUTPUT, x11->screen->root_visual, mask, values);
output->surf = wlr_egl_create_surface(&x11->egl, &output->win);