Skip to content

Commit

Permalink
fix barrier_id=0 in input-capture example
Browse files Browse the repository at this point in the history
  • Loading branch information
feschber committed Jun 19, 2024
1 parent 09339f9 commit 9566369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/desktop/input_capture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
//! .iter()
//! .enumerate()
//! .map(|(n, r)| {
//! let id = n as u32;
//! let id = (n + 1) as u32;
//! let (x, y) = (r.x_offset(), r.y_offset());
//! let (width, height) = (r.width() as i32, r.height() as i32);
//! let barrier_pos = match pos {
Expand Down Expand Up @@ -217,7 +217,7 @@
//! .iter()
//! .enumerate()
//! .map(|(n, r)| {
//! let id = n as u32;
//! let id = (n + 1) as u32;
//! let (x, y) = (r.x_offset(), r.y_offset());
//! let (width, height) = (r.width() as i32, r.height() as i32);
//! let barrier_pos = match pos {
Expand Down

0 comments on commit 9566369

Please sign in to comment.