inputd: Automatically switch to first vt once created

This commit is contained in:
bjorn3
2025-03-02 15:51:32 +01:00
parent 9779d1884e
commit de0239d3ed
3 changed files with 5 additions and 7 deletions
-4
View File
@@ -26,16 +26,12 @@ fn inner(daemon: redox_daemon::Daemon) -> ! {
let mut scheme = FbbootlogScheme::new();
let mut inputd_control_handle = inputd::ControlHandle::new().unwrap();
// This is not possible for now as fbbootlogd needs to open new displays at runtime for graphics
// driver handoff. In the future inputd may directly pass a handle to the display instead.
//libredox::call::setrens(0, 0).expect("fbbootlogd: failed to enter null namespace");
daemon.ready().expect("failed to notify parent");
inputd_control_handle.activate_vt(1).unwrap();
loop {
let request = match socket
.next_request(SignalBehavior::Restart)