cfg out globalhotkey
This commit is contained in:
11 files changed
+37
-26
No files matched your search
@@ -1,11 +1,11 @@
|
||||
use global_hotkey::GlobalHotKeyEvent;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use tao::window::WindowId;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum UserWindowEvent {
|
||||
/// A global hotkey event
|
||||
GlobalHotKeyEvent(GlobalHotKeyEvent),
|
||||
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))]
|
||||
GlobalHotKeyEvent(global_hotkey::GlobalHotKeyEvent),
|
||||
|
||||
/// Poll the virtualdom
|
||||
Poll(WindowId),
|
||||
|
||||
Reference in new issue
Block a user