mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
backend/x11: leave new outputs disabled by default
This commit is contained in:
parent
1f716f4bc0
commit
e1bdc62c38
1 changed files with 0 additions and 6 deletions
|
@ -601,13 +601,10 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) {
|
||||||
|
|
||||||
wlr_x11_output_set_title(wlr_output, NULL);
|
wlr_x11_output_set_title(wlr_output, NULL);
|
||||||
|
|
||||||
xcb_map_window(x11->xcb, output->win);
|
|
||||||
xcb_flush(x11->xcb);
|
xcb_flush(x11->xcb);
|
||||||
|
|
||||||
wl_list_insert(&x11->outputs, &output->link);
|
wl_list_insert(&x11->outputs, &output->link);
|
||||||
|
|
||||||
wlr_output_update_enabled(wlr_output, true);
|
|
||||||
|
|
||||||
wlr_pointer_init(&output->pointer, &x11_pointer_impl, "x11-pointer");
|
wlr_pointer_init(&output->pointer, &x11_pointer_impl, "x11-pointer");
|
||||||
output->pointer.output_name = strdup(wlr_output->name);
|
output->pointer.output_name = strdup(wlr_output->name);
|
||||||
|
|
||||||
|
@ -619,9 +616,6 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) {
|
||||||
wl_signal_emit_mutable(&x11->backend.events.new_input, &output->pointer.base);
|
wl_signal_emit_mutable(&x11->backend.events.new_input, &output->pointer.base);
|
||||||
wl_signal_emit_mutable(&x11->backend.events.new_input, &output->touch.base);
|
wl_signal_emit_mutable(&x11->backend.events.new_input, &output->touch.base);
|
||||||
|
|
||||||
// Start the rendering loop by requesting the compositor to render a frame
|
|
||||||
wlr_output_schedule_frame(wlr_output);
|
|
||||||
|
|
||||||
return wlr_output;
|
return wlr_output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue