debug: Add dbus interface to control debug prints
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
|
||||
/*! Glue for the main loop. */
|
||||
use crate::outputs::OutputId;
|
||||
use crate::debug;
|
||||
use crate::state;
|
||||
use glib::{Continue, MainContext, PRIORITY_DEFAULT, Receiver};
|
||||
|
||||
@ -94,6 +95,8 @@ mod c {
|
||||
let now = Instant::now();
|
||||
let state_manager = driver::Threaded::new(sender, state::Application::new(now));
|
||||
|
||||
debug::init(state_manager.clone());
|
||||
|
||||
let outputs = Outputs::new(state_manager.clone());
|
||||
let mut wayland = Box::new(Wayland::new(outputs));
|
||||
let wayland_raw = &mut *wayland as *mut _;
|
||||
|
||||
Reference in New Issue
Block a user