- Lock the session from the power button or `chandra-ctl lock` - Unlock with a face or the password; the password always works - Add compositor lock module with tests, and a polkit unlock policy (org.chandra.unlock) - Document the lock flow in docs/lock.md and link it from the README - Add generated interface bindings for the compositor and widget components
This commit is contained in:
1 parent
7501fc3ad9
commit
c790f96e58
131 files changed
+4693
-274
No files matched your search
+27
@@ -0,0 +1,27 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/components/icon-desktop/gen/interface/chandra/desktop/desktop-module"
|
||||
|
||||
import {
|
||||
"chandra/desktop/interface/chandra/desktop/types",
|
||||
}
|
||||
|
||||
// Values
|
||||
pub fn backdrop() -> WallpaperMode
|
||||
|
||||
pub fn on_scroll(@types.Point, Int32, Int32) -> Bool
|
||||
|
||||
pub fn tick(UInt32) -> UInt32
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) enum WallpaperMode {
|
||||
OVER_WALLPAPER
|
||||
REPLACE_WALLPAPER
|
||||
}
|
||||
pub fn WallpaperMode::from(Int32) -> Self
|
||||
pub fn WallpaperMode::ordinal(Self) -> Int32
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/components/icon-desktop/gen/interface/chandra/desktop/module-config"
|
||||
|
||||
// Values
|
||||
pub fn config_items() -> Array[ConfigItem]
|
||||
|
||||
pub fn set_config(String, String) -> Bool
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct ConfigItem {
|
||||
key : String
|
||||
label : String
|
||||
choices : Array[String]
|
||||
value : String
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -0,0 +1,42 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/components/icon-desktop/gen/interface/chandra/desktop/plasmoid"
|
||||
|
||||
import {
|
||||
"chandra/desktop/interface/chandra/desktop/types",
|
||||
}
|
||||
|
||||
// Values
|
||||
pub fn info() -> PlasmoidInfo
|
||||
|
||||
pub fn on_event(Surface, @types.InputEvent) -> Bool
|
||||
|
||||
pub fn popup() -> PopupSurface?
|
||||
|
||||
pub fn render(@types.Size) -> Array[@types.DrawOp]
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct PlasmoidInfo {
|
||||
id : String
|
||||
name : String
|
||||
preferred : @types.Size
|
||||
min_width : UInt32
|
||||
stretch : Bool
|
||||
}
|
||||
|
||||
pub(all) struct PopupSurface {
|
||||
size : @types.Size
|
||||
ops : Array[@types.DrawOp]
|
||||
}
|
||||
|
||||
pub(all) enum Surface {
|
||||
WIDGET
|
||||
POPUP
|
||||
}
|
||||
pub fn Surface::from(Int32) -> Self
|
||||
pub fn Surface::ordinal(Self) -> Int32
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
@@ -0,0 +1,13 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "chandra/desktop/components/icon-desktop/gen"
|
||||
|
||||
// Values
|
||||
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
Reference in new issue
Block a user