Skip to content

Commit

Permalink
fix: fix first click not work when window is inactivated
Browse files Browse the repository at this point in the history
  • Loading branch information
lisiur committed Apr 15, 2023
1 parent 77413c2 commit 2844802
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ pub fn create_window_in_background(
.decorations(options.decorations.unwrap_or(true))
.transparent(options.transparent.unwrap_or(false))
.skip_taskbar(options.skip_taskbar.unwrap_or(false))
.accept_first_mouse(true)
.visible(false);

#[cfg(target_os = "macos")]
Expand Down

0 comments on commit 2844802

Please sign in to comment.