mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-11 07:10:54 +03:00
fix unix build
This commit is contained in:
@@ -30,7 +30,7 @@ use wayland_client::{
|
||||
|
||||
use tempfile;
|
||||
|
||||
use super::{Event, KeyboardEvent, PointerEvent};
|
||||
use crate::event::{Event, KeyboardEvent, PointerEvent};
|
||||
|
||||
// App State, implements Dispatch event handlers
|
||||
struct App {
|
||||
|
||||
@@ -49,7 +49,7 @@ use wayland_client::{
|
||||
|
||||
use tempfile;
|
||||
|
||||
use super::{Event, KeyboardEvent, PointerEvent};
|
||||
use crate::event::{Event, KeyboardEvent, PointerEvent};
|
||||
|
||||
struct Globals {
|
||||
compositor: wl_compositor::WlCompositor,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#![cfg(windows)]
|
||||
use std::sync::mpsc::Receiver;
|
||||
|
||||
use winapi::{self, um::winuser::{INPUT, LPINPUT, INPUT_MOUSE, MOUSEINPUT, MOUSEEVENTF_MOVE}};
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#![cfg(windows)]
|
||||
use std::sync::mpsc::SyncSender;
|
||||
|
||||
use crate::{event::Event, client::{ClientHandle, Client}, request::Server};
|
||||
|
||||
Reference in New Issue
Block a user