mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Fixed VT switching
This commit is contained in:
parent
091de12bf4
commit
55854565dc
6 changed files with 42 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue