build fixes

macos-click-through
Keith Simmons 3 years ago
parent c1f33d6808
commit 18f9ae5dac

@ -706,7 +706,7 @@ fn parse_win_float_pos(win_float_pos_arguments: Vec<Value>) -> Result<RedrawEven
anchor_row: parse_f64(anchor_row)?,
anchor_column: parse_f64(anchor_column)?,
focusable: parse_bool(focusable)?,
sort_order: sort_order,
sort_order,
})
}

@ -158,7 +158,7 @@ pub fn handle_command_line_arguments() -> Result<(), String> {
no_fork: matches.is_present("nofork") || matches.is_present("verbosity"),
no_idle: matches.is_present("noidle") || std::env::var("NEOVIDE_NOIDLE").is_ok(),
srgb: matches.is_present("srgb") || !std::env::var("NEOVIDE_NO_SRGB").is_ok(),
srgb: matches.is_present("srgb") || std::env::var("NEOVIDE_NO_SRGB").is_err(),
geometry: parse_window_geometry(matches.value_of("geometry").map(|i| i.to_owned()))?,
wsl: matches.is_present("wsl"),
remote_tcp: matches.value_of("remote_tcp").map(|i| i.to_owned()),

@ -200,7 +200,7 @@ impl MouseManager {
})
.ok();
}
}
}
}
self.dragging = down;
@ -310,12 +310,7 @@ impl MouseManager {
(delta.x as f32, delta.y as f32),
),
Event::WindowEvent {
event:
WindowEvent::MouseInput {
button,
state,
..
},
event: WindowEvent::MouseInput { button, state, .. },
..
} => self.handle_pointer_transition(button, state == &ElementState::Pressed),
_ => {}

Loading…
Cancel
Save