Panel: generate the Show Desktop interfaces and toggle request
CI / test (pull_request) Successful in 1m19s

- Add generated .mbti interfaces for show-desktop, its plasmoid, and the show-desktop-widget world
- Add a ToggleDesktop host request and publish_desktop_shown(Bool) for the panel to report desktop state
This commit is contained in:
nandi committed 2026-11-30 16:49:06 -08:00
1 parent b293ecb51a
commit c5dbe028e6
5 files changed
+85

No files matched your search

@@ -0,0 +1,15 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/show-desktop"
// Values
pub fn is_shown() -> Bool
pub fn toggle() -> Unit
// Errors
// Types and methods
// Type aliases
// Traits
@@ -35,6 +35,8 @@ pub fn publish_brightness(Int32) -> Unit
pub fn publish_desktop(Int32) -> Unit
pub fn publish_desktop_shown(Bool) -> Unit
pub fn publish_osk(Bool) -> Unit
pub fn publish_power(UInt32, UInt32) -> Unit
@@ -139,6 +141,7 @@ pub(all) enum Request {
SetBrightness(Int32)
SetOskVisible(Bool)
SetRotation(Int32)
ToggleDesktop
}
pub(all) struct SettingChange {