inputd: Automatically switch to first vt once created
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user