Skip to content

Commit

Permalink
ignore org.freedesktop.DBus.Error.ServiceUnknown
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin committed Mar 21, 2024
1 parent eda0901 commit 2c80f76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bytemuck = "1.13"
clap = { version = "4.0", default-features = false, features = ["std", "help", "usage", "derive"] }
libc = "0.2"
memmap2 = "0.9"
rustbus-service = { git = "https://github.com/MaxVerevkin/rustbus-service", rev = "367fcb4" }
rustbus-service = { git = "https://github.com/MaxVerevkin/rustbus-service", rev = "1bd3aef" }
shmemfdrs2 = "1.0"
wayrs-client = "1.0"
wayrs-protocols = { version = "0.13", features = ["wlr-gamma-control-unstable-v1"] }
Expand Down
3 changes: 3 additions & 0 deletions src/dbus_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ impl DbusServer {

let mut service = Service::new();

// See https://github.com/MaxVerevkin/wl-gammarelay-rs/issues/22
service.set_error_cb("org.freedesktop.DBus.Error.ServiceUnknown", |_| ());

let req_name_serial =
conn.send
.send_message_write_all(&rustbus::standard_messages::request_name(
Expand Down

0 comments on commit 2c80f76

Please sign in to comment.