diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-08 10:01:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-08 10:01:11 -0400 |
commit | e3342927a34c709e5c7edc56c3c1c80e92550897 (patch) | |
tree | f9aa4b16c8c318af49295e488a839704ae94f003 | |
parent | 543601e86c24ad6ed630aba0cf615bfb585c19e7 (diff) | |
parent | 2f2392c39ee780ca544ea93481e9b59ec411a8a1 (diff) |
Merge pull request #241 from acrisci/feature/x11-backend-output-global
x11-backend: create wlr output global
-rw-r--r-- | backend/x11/backend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 2134536c..a8a18f8e 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -260,6 +260,7 @@ static bool wlr_x11_backend_start(struct wlr_backend *backend) { xcb_map_window(x11->xcb_conn, output->win); xcb_flush(x11->xcb_conn); + wlr_output_create_global(&output->wlr_output, x11->wl_display); wl_signal_emit(&x11->backend.events.output_add, output); wl_signal_emit(&x11->backend.events.input_add, &x11->keyboard_dev); |