fix unix build

This commit is contained in:
Ferdinand Schober
2023-02-12 19:09:10 +01:00
parent 70b484878e
commit b20100b28e
4 changed files with 4 additions and 2 deletions

View File

@@ -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 {

View File

@@ -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,

View File

@@ -1,3 +1,4 @@
#![cfg(windows)]
use std::sync::mpsc::Receiver;
use winapi::{self, um::winuser::{INPUT, LPINPUT, INPUT_MOUSE, MOUSEINPUT, MOUSEEVENTF_MOVE}};

View File

@@ -1,3 +1,4 @@
#![cfg(windows)]
use std::sync::mpsc::SyncSender;
use crate::{event::Event, client::{ClientHandle, Client}, request::Server};