Fixed VT switching

This commit is contained in:
Scott Anderson 2017-06-21 13:31:29 +12:00
parent 091de12bf4
commit 55854565dc
6 changed files with 42 additions and 4 deletions

View file

@ -54,8 +54,10 @@ static void session_signal(struct wl_listener *listener, void *data) {
} else {
wlr_log(L_INFO, "DRM fd paused");
// TODO: Actually pause the renderer or something.
// We currently just expect it to fail its next pageflip.
for (size_t i = 0; i < drm->outputs->length; ++i) {
struct wlr_output_state *output = drm->outputs->items[i];
wlr_drm_output_pause_renderer(output);
}
}
}