first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+8 -2
View File
@@ -4,7 +4,7 @@ mod x11;
use async_trait::async_trait;
use crate::{Action, ActionResult, Options};
use crate::{ActionResult, Options, TargetedAction};
/// Returns true if a Wayland environment is available.
fn is_wayland_available() -> bool {
@@ -24,6 +24,12 @@ pub fn is_supported_on_current_platform() -> bool {
is_wayland_available() || is_x11_available()
}
/// Reports whether background, per-window control is available. The Linux input stack drives the
/// whole screen / frontmost application, so per-window background control is unsupported.
pub fn background_supported() -> bool {
false
}
pub struct Actor {
inner: ActorInner,
}
@@ -77,7 +83,7 @@ impl super::Actor for Actor {
async fn perform_actions(
&mut self,
actions: &[Action],
actions: &[TargetedAction],
options: Options,
) -> Result<ActionResult, String> {
match &mut self.inner {