mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
Atomic modesetting
This commit is contained in:
parent
913829e381
commit
af67966d92
11 changed files with 350 additions and 72 deletions
|
|
@ -53,7 +53,11 @@ static void session_signal(struct wl_listener *listener, void *data) {
|
|||
for (size_t i = 0; i < drm->outputs->length; ++i) {
|
||||
struct wlr_output_state *output = drm->outputs->items[i];
|
||||
wlr_drm_output_start_renderer(output);
|
||||
wlr_drm_crtc_set_cursor(drm, output->crtc);
|
||||
|
||||
struct wlr_drm_plane *plane = output->crtc->cursor;
|
||||
|
||||
drm->iface->crtc_set_cursor(drm, output->crtc,
|
||||
plane ? plane->cursor_bo : NULL);
|
||||
}
|
||||
} else {
|
||||
wlr_log(L_INFO, "DRM fd paused");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue