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