Fennec OS 0.3.2: one app at a time, Raspberry Pi shell packages
- sf-core: only one app runs. Home, another app or a cast closes the app
on screen (after the switch animation) instead of freezing it in the
background. A frozen app that held a sound stream stalled PipeWire, so
the next app could not play at all ("Failed to connect stream: No such
entity" in Netflex after YouTube was sent home mid-video). The
background limit and the low-memory watcher go with the freezing.
- Raspberry Pi: image/pi (installer on Raspberry Pi OS), aarch64 shell
packages (sf-shell-<v>-aarch64, arch in pkg.toml, sf-update installs only
its own architecture), CI builds the aarch64 shell too.
- sf-compositor: volume OSD, screencopy for remote view, blank cursor.
- SDK v0.1.2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,15 +9,14 @@ use serde::{Deserialize, Serialize};
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
#[serde(tag = "type", rename_all = "snake_case")]
|
||||
pub enum LauncherRequest {
|
||||
/// Start the app, or bring it back if it waits in the background.
|
||||
/// Start the app (the one on screen closes).
|
||||
Launch {
|
||||
app_id: String,
|
||||
/// Extra query string for the start URL (DIAL uses this).
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
query: Option<String>,
|
||||
},
|
||||
/// Show the launcher. The foreground app is frozen in the background if
|
||||
/// the compositor can switch windows, otherwise it is closed.
|
||||
/// Show the launcher. The app on screen closes.
|
||||
GoHome,
|
||||
/// Close the app.
|
||||
Stop { app_id: String },
|
||||
@@ -28,7 +27,7 @@ pub enum LauncherRequest {
|
||||
pub enum CoreEvent {
|
||||
/// First message on every connection.
|
||||
Hello {
|
||||
/// True if apps are kept (frozen) in the background on Home.
|
||||
/// True if the compositor can switch windows (sf-compositor, not cage).
|
||||
switching: bool,
|
||||
/// The app in the foreground, if any.
|
||||
#[serde(default)]
|
||||
|
||||
Reference in New Issue
Block a user