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
|
|
@ -1,7 +1,6 @@
|
|||
// Copyright 2023 System76 <info@system76.com>
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
#[cfg(feature = "winit")]
|
||||
use crate::app;
|
||||
#[cfg(feature = "single-instance")]
|
||||
use crate::dbus_activation;
|
||||
|
|
@ -9,7 +8,6 @@ use crate::dbus_activation;
|
|||
pub const fn app<M>(message: M) -> Action<M> {
|
||||
Action::App(message)
|
||||
}
|
||||
#[cfg(feature = "winit")]
|
||||
pub const fn cosmic<M>(message: app::Action) -> Action<M> {
|
||||
Action::Cosmic(message)
|
||||
}
|
||||
|
|
@ -23,7 +21,6 @@ pub const fn none<M>() -> Action<M> {
|
|||
pub enum Action<M> {
|
||||
/// Messages from the application, for the application.
|
||||
App(M),
|
||||
#[cfg(feature = "winit")]
|
||||
/// Internal messages to be handled by libcosmic.
|
||||
Cosmic(app::Action),
|
||||
#[cfg(feature = "single-instance")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue