mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Merge remote-tracking branch 'upstream/master' into output-damage
This commit is contained in:
commit
1ee61dbd0f
11 changed files with 87 additions and 26 deletions
|
|
@ -168,6 +168,7 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
|
|||
return &drm->backend;
|
||||
|
||||
error_event:
|
||||
wl_list_remove(&drm->session_signal.link);
|
||||
wl_event_source_remove(drm->drm_event);
|
||||
error_fd:
|
||||
wlr_session_close_file(drm->session, drm->fd);
|
||||
|
|
|
|||
|
|
@ -469,7 +469,7 @@ static bool wlr_drm_connector_set_mode(struct wlr_output *output,
|
|||
if (!crtc) {
|
||||
return false;
|
||||
}
|
||||
wlr_log(L_DEBUG, "%s: crtc=%ju ovr=%jd pri=%jd cur=%jd", conn->output.name,
|
||||
wlr_log(L_DEBUG, "%s: crtc=%td ovr=%td pri=%td cur=%td", conn->output.name,
|
||||
crtc - drm->crtcs,
|
||||
crtc->overlay ? crtc->overlay - drm->overlay_planes : -1,
|
||||
crtc->primary ? crtc->primary - drm->primary_planes : -1,
|
||||
|
|
|
|||
|
|
@ -33,11 +33,11 @@ else
|
|||
backend_files += files('session/direct.c')
|
||||
endif
|
||||
|
||||
if systemd.found()
|
||||
if systemd.found() and get_option('enable_systemd')
|
||||
backend_files += files('session/logind.c')
|
||||
endif
|
||||
|
||||
if elogind.found()
|
||||
if elogind.found() and get_option('enable_elogind')
|
||||
backend_files += files('session/logind.c')
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue