Merge pull request #241 from acrisci/feature/x11-backend-output-global

x11-backend: create wlr output global
This commit is contained in:
Drew DeVault 2017-10-08 10:01:11 -04:00 committed by GitHub
commit e3342927a3

View file

@ -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);