tweaks to the LastWindowClose to make it more imperative

This commit is contained in:
Jonathan Kelley committed 2025-07-01 19:58:41 -07:00
1 parent 9573af115a
commit ff762cec84
11 files changed
+74 -214

No files matched your search

-4
View File
@@ -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),