tweaks to the LastWindowClose to make it more imperative
This commit is contained in:
1 parent
9573af115a
commit
ff762cec84
11 files changed
+74
-214
No files matched your search
@@ -1,8 +1,6 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
use tao::window::WindowId;
|
||||
|
||||
use crate::WindowCloseBehaviour;
|
||||
|
||||
#[non_exhaustive]
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum UserWindowEvent {
|
||||
@@ -19,8 +17,6 @@ pub enum UserWindowEvent {
|
||||
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))]
|
||||
TrayMenuEvent(tray_icon::menu::MenuEvent),
|
||||
|
||||
CloseBehaviour(WindowId, Option<WindowCloseBehaviour>),
|
||||
|
||||
/// Poll the virtualdom
|
||||
Poll(WindowId),
|
||||
|
||||
|
||||
Reference in new issue
Block a user