tty: Remove warning when rendering with inactive device

This commit is contained in:
Ivan Molodetskikh
2025-08-17 11:29:22 +03:00
parent 3b76cb7b3d
commit a6febb86aa
+2 -1
View File
@@ -1382,7 +1382,8 @@ impl Tty {
span.emit_text(&surface.name.connector);
if !device.drm.is_active() {
warn!("device is inactive");
// This branch hits any time we try to render while the user had switched to a
// different VT, so don't print anything here.
return rv;
}