chore: clippy
This commit is contained in:
parent
3b70bc0265
commit
0847247c33
77 changed files with 865 additions and 1029 deletions
|
|
@ -80,7 +80,10 @@ impl State {
|
|||
command.envs(
|
||||
session::get_env(&self.common).expect("WAYLAND_DISPLAY should be valid UTF-8"),
|
||||
);
|
||||
unsafe { command.pre_exec(|| Ok(utils::rlimit::restore_nofile_limit())) };
|
||||
unsafe { command.pre_exec(|| {
|
||||
utils::rlimit::restore_nofile_limit();
|
||||
Ok(())
|
||||
}) };
|
||||
|
||||
info!("Running {:?}", exec);
|
||||
command
|
||||
|
|
@ -172,7 +175,7 @@ fn main_inner() -> Result<(), Box<dyn Error>> {
|
|||
{
|
||||
let dh = state.common.display_handle.clone();
|
||||
for client in clients.values() {
|
||||
client_compositor_state(&client).blocker_cleared(state, &dh);
|
||||
client_compositor_state(client).blocker_cleared(state, &dh);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue