yoda: fork pivot — Wayland-only + ungate winit + soft-fork libcosmic-yoda (squashed)
Squash of 7 yoda commits forming the fork pivot: -255cf7ccrename: libcosmic -> libcosmic-yoda (fork 0.1.0-yoda) -8701aa31feat(yoda): Wayland-only cut — drop winit and x11 features -6736a596yoda: soft-fork pivot — keep Cargo name 'libcosmic' for dep unification -3e23d087yoda: re-apply hard rename — libcosmic -> libcosmic-yoda (0.1.0-yoda) -aec3eb61yoda: ungate remaining winit+wayland combined cfgs -8ab7b158yoda-v2: color_picker Theme ref + context_menu/menu ungate winit -8d1d8739yoda: drop x11 defaults on iced_winit + iced_tiny_skia
This commit is contained in:
parent
261a211647
commit
45eaaf1605
101 changed files with 82 additions and 103 deletions
|
|
@ -461,7 +461,6 @@ impl Core {
|
|||
id
|
||||
}
|
||||
|
||||
#[cfg(feature = "winit")]
|
||||
pub fn drag<M: Send + 'static>(&self, id: Option<window::Id>) -> crate::app::Task<M> {
|
||||
let Some(id) = id.or(self.main_window) else {
|
||||
return iced::Task::none();
|
||||
|
|
@ -469,7 +468,6 @@ impl Core {
|
|||
crate::command::drag(id)
|
||||
}
|
||||
|
||||
#[cfg(feature = "winit")]
|
||||
pub fn maximize<M: Send + 'static>(
|
||||
&self,
|
||||
id: Option<window::Id>,
|
||||
|
|
@ -481,7 +479,6 @@ impl Core {
|
|||
crate::command::maximize(id, maximized)
|
||||
}
|
||||
|
||||
#[cfg(feature = "winit")]
|
||||
pub fn minimize<M: Send + 'static>(&self, id: Option<window::Id>) -> crate::app::Task<M> {
|
||||
let Some(id) = id.or(self.main_window) else {
|
||||
return iced::Task::none();
|
||||
|
|
@ -489,7 +486,6 @@ impl Core {
|
|||
crate::command::minimize(id)
|
||||
}
|
||||
|
||||
#[cfg(feature = "winit")]
|
||||
pub fn set_title<M: Send + 'static>(
|
||||
&self,
|
||||
id: Option<window::Id>,
|
||||
|
|
@ -501,7 +497,6 @@ impl Core {
|
|||
crate::command::set_title(id, title)
|
||||
}
|
||||
|
||||
#[cfg(feature = "winit")]
|
||||
pub fn set_windowed<M: Send + 'static>(&self, id: Option<window::Id>) -> crate::app::Task<M> {
|
||||
let Some(id) = id.or(self.main_window) else {
|
||||
return iced::Task::none();
|
||||
|
|
@ -509,7 +504,6 @@ impl Core {
|
|||
crate::command::set_windowed(id)
|
||||
}
|
||||
|
||||
#[cfg(feature = "winit")]
|
||||
pub fn toggle_maximize<M: Send + 'static>(
|
||||
&self,
|
||||
id: Option<window::Id>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue