Skip to content

Commit

Permalink
fixed switch
Browse files Browse the repository at this point in the history
Signed-off-by: Enrico Stemmer <stemmer.enrico@gmail.com>
  • Loading branch information
H3rmt committed Feb 2, 2024
1 parent a7320da commit a38a7f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ fn update(

let gesture = gtk4::GestureClick::new();
let client_clone = client.clone();
// gesture.connect_pressed(move |gesture, _, _, _| {
gesture.connect_released(move |gesture, _, _, _| {
gesture.connect_pressed(move |gesture, _, _, _| {
// gesture.connect_released(move |gesture, _, _, _| {
gesture.set_state(gtk4::EventSequenceState::Claimed);
println!("clicked on {}", client_clone.class);
focus(client_clone.clone());
Expand Down

0 comments on commit a38a7f7

Please sign in to comment.