mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
x11-backend: create wlr output global
This commit is contained in:
parent
543601e86c
commit
2f2392c39e
1 changed files with 1 additions and 0 deletions
|
@ -260,6 +260,7 @@ static bool wlr_x11_backend_start(struct wlr_backend *backend) {
|
||||||
|
|
||||||
xcb_map_window(x11->xcb_conn, output->win);
|
xcb_map_window(x11->xcb_conn, output->win);
|
||||||
xcb_flush(x11->xcb_conn);
|
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.output_add, output);
|
||||||
wl_signal_emit(&x11->backend.events.input_add, &x11->keyboard_dev);
|
wl_signal_emit(&x11->backend.events.input_add, &x11->keyboard_dev);
|
||||||
|
|
Loading…
Reference in a new issue