fix build for mac and linux

macos-click-through
keith 4 years ago
parent baaf6dd090
commit 655339bbf8

@ -31,9 +31,11 @@ impl Handler for NeovimHandler {
"setting_changed" => { "setting_changed" => {
SETTINGS.handle_changed_notification(arguments); SETTINGS.handle_changed_notification(arguments);
} }
#[cfg(windows)]
"neovide.register_right_click" => { "neovide.register_right_click" => {
BRIDGE.queue_command(UiCommand::RegisterRightClick); BRIDGE.queue_command(UiCommand::RegisterRightClick);
} }
#[cfg(windows)]
"neovide.unregister_right_click" => { "neovide.unregister_right_click" => {
BRIDGE.queue_command(UiCommand::UnregisterRightClick); BRIDGE.queue_command(UiCommand::UnregisterRightClick);
} }

Loading…
Cancel
Save