feat: add helpers for getting and using activation tokens in applets

refactor(applet): connect to privileged socket if available

cleanup
This commit is contained in:
Ashley Wulber 2023-11-14 16:55:06 -05:00 committed by Ashley Wulber
parent c9554a8740
commit ef5b6fb44a
9 changed files with 310 additions and 8 deletions

View file

@ -41,9 +41,9 @@ use iced_runtime::command::platform_specific;
use iced_runtime::Command;
#[cfg(feature = "wayland")]
use iced_runtime::command::platform_specific::wayland::data_device::{DataFromMimeType, DndIcon};
use cctk::sctk::reexports::client::protocol::wl_data_device_manager::DndAction;
#[cfg(feature = "wayland")]
use sctk::reexports::client::protocol::wl_data_device_manager::DndAction;
use iced_runtime::command::platform_specific::wayland::data_device::{DataFromMimeType, DndIcon};
/// Creates a new [`TextInput`].
///