enable mouse clickthrough

macos-click-through
keith 5 years ago
parent 63727f0552
commit 813f00fb85

@ -62,6 +62,7 @@ pub fn ui_loop() {
// info!("icon created"); // info!("icon created");
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
windows_fix_dpi(); windows_fix_dpi();
sdl2::hint::set("SDL_MOUSE_FOCUS_CLICKTHROUGH", "1");
let mut window = video_subsystem.window("Neovide", logical_size.width, logical_size.height) let mut window = video_subsystem.window("Neovide", logical_size.width, logical_size.height)
.position_centered() .position_centered()

Loading…
Cancel
Save