Skip to content

Commit

Permalink
flush wayland connection after toggling visibility
Browse files Browse the repository at this point in the history
removes an acidental delay
  • Loading branch information
MaxVerevkin committed Mar 30, 2024
1 parent c6da876 commit d054293
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ fn main() -> anyhow::Result<()> {
1
);
ctx.state.toggle_visibility(ctx.conn);
ctx.conn.flush(IoMode::Blocking)?;
Ok(event_loop::Action::Keep)
});

Expand Down

0 comments on commit d054293

Please sign in to comment.