Skip to content

Commit

Permalink
Fix build error on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Slyker committed Apr 11, 2024
1 parent 79d1627 commit 768f2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/platform/shared.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use raw_window_handle::{HasRawWindowHandle, RawWindowHandle};
use tauri::{Manager, Window};
use tauri::{Window};

use crate::data::Point;

Expand All @@ -17,7 +17,7 @@ pub const IGNORE_AREA_BOTTOM: u32 = 110;
pub fn get_window_id(window: &Window) -> Option<u64> {
#[allow(unused_variables)]
match window.raw_window_handle() {
RawWindowHandle::Xlib(handle) => Some(handle.window),
RawWindowHandle::Xlib(handle) => Some(handle.window as u64),
RawWindowHandle::Win32(handle) => Some(handle.hwnd as u64),
RawWindowHandle::AppKit(handle) => {
#[cfg(target_os = "macos")]
Expand Down

0 comments on commit 768f2aa

Please sign in to comment.