Update libcosmic/iced

This commit is contained in:
Ian Douglas Scott 2023-12-04 17:01:22 -08:00 committed by Ashley Wulber
parent b7b7b9541e
commit 0e84d0f3cb
4 changed files with 371 additions and 333 deletions

View file

@ -13,7 +13,7 @@ use cctk::wayland_client::protocol::wl_data_device_manager::DndAction;
use cctk::wayland_client::protocol::wl_seat::WlSeat;
use cosmic::cosmic_config::{self, Config, CosmicConfigEntry};
use cosmic::iced;
use cosmic::iced::subscription::events_with;
use cosmic::iced::event::listen_with;
use cosmic::iced::wayland::actions::data_device::DataFromMimeType;
use cosmic::iced::wayland::actions::data_device::DndIcon;
use cosmic::iced::wayland::popup::destroy_popup;
@ -1095,7 +1095,7 @@ impl cosmic::Application for CosmicAppList {
fn subscription(&self) -> Subscription<Message> {
Subscription::batch(vec![
wayland_subscription(self.subscription_ctr).map(Message::Wayland),
events_with(|e, _| match e {
listen_with(|e, _| match e {
cosmic::iced_runtime::core::Event::PlatformSpecific(
event::PlatformSpecific::Wayland(event::wayland::Event::Seat(e, seat)),
) => match e {