1
0
Fork 0
forked from wry/wry

all: bring back xdg portals

This commit is contained in:
kossLAN 2026-06-06 19:16:45 -04:00
parent d920e554cf
commit e61f042d8b
No known key found for this signature in database
107 changed files with 14293 additions and 55 deletions

View file

@ -32,6 +32,7 @@ use {
},
compositor::start_compositor,
logger::LogLevel,
portal,
pr_caps::drop_all_pr_caps,
},
clap::{Args, Parser, Subcommand, ValueEnum, ValueHint},
@ -87,6 +88,8 @@ pub enum Cmd {
Dpms(DpmsArgs),
/// Tests the events produced by a seat.
SeatTest(SeatTestArgs),
/// Run the desktop portal.
Portal,
/// Inspect/modify graphics card and connector settings.
Randr(RandrArgs),
/// Inspect/modify input settings.
@ -243,6 +246,7 @@ pub fn main() {
Cmd::Dpms(a) => dpms::main(cli.global, a),
Cmd::Unlock => unlock::main(cli.global),
Cmd::SeatTest(a) => seat_test::main(cli.global, a),
Cmd::Portal => portal::run_freestanding(cli.global),
Cmd::Randr(a) => randr::main(cli.global, a),
Cmd::Input(a) => input::main(cli.global, a),
Cmd::DamageTracking(a) => damage_tracking::main(cli.global, a),