refactor(menu): fallback behavior for non wayland windowing system
This commit is contained in:
parent
ba72aed6fb
commit
00ba16fe01
7 changed files with 268 additions and 160 deletions
|
|
@ -36,6 +36,8 @@ pub enum Action {
|
|||
NavBar(nav_bar::Id),
|
||||
/// Activates a context menu for an item from the nav bar.
|
||||
NavBarContext(nav_bar::Id),
|
||||
/// A new window was opened.
|
||||
Opened(iced::window::Id),
|
||||
/// Set scaling factor
|
||||
ScaleFactor(f32),
|
||||
/// Show the window menu
|
||||
|
|
@ -60,6 +62,8 @@ pub enum Action {
|
|||
ToolkitConfig(CosmicTk),
|
||||
/// Window focus lost
|
||||
Unfocus(iced::window::Id),
|
||||
/// Windowing system initialized
|
||||
WindowingSystemInitialized,
|
||||
/// Updates the window maximized state
|
||||
WindowMaximized(iced::window::Id, bool),
|
||||
/// Updates the tracked window geometry.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue