mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-07 04:06:14 -05:00
examples: Fix compositor-examples
Due to the way the wlr_output API was changed, these examples would
never get a frame event to start the rendering loop. We now commit the
outputs to start it.
(cherry picked from commit 2fea2fced8)
This commit is contained in:
parent
422d9fdc4a
commit
27f9852e21
8 changed files with 16 additions and 0 deletions
|
|
@ -265,6 +265,8 @@ static void new_output_notify(struct wl_listener *listener, void *data) {
|
|||
wlr_xcursor_manager_load(sample->xcursor_manager, output->scale);
|
||||
wlr_xcursor_manager_set_cursor_image(sample->xcursor_manager, "left_ptr",
|
||||
sample->cursor);
|
||||
|
||||
wlr_output_commit(output);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue