Skip to content

Commit

Permalink
Remove bad focus window call
Browse files Browse the repository at this point in the history
  • Loading branch information
arusahni committed Dec 29, 2023
1 parent 24e54fe commit 1811ae0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ pub(crate) fn program_thread(
let window_id = read_ctx.read().unwrap().window_id.unwrap();
x11::map_window(window_id);
x11::position_window(window_id, &instance);
thread::sleep(Duration::from_millis(100));
x11::focus_window(window_id);
}
}
"kill" => {
Expand Down

0 comments on commit 1811ae0

Please sign in to comment.