Skip to content

Commit

Permalink
address commemnts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericky Dos Santos committed Nov 8, 2024
1 parent 6b4dbe7 commit 69f68d2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 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 @@ -22,5 +22,5 @@ zbus = { version = "3.15.2", default-features = false, features = ["tokio"] }
zbus_macros = "3.15.2"
inotify = "0.11.0"
gamescope-wayland-client = { git = "https://github.com/ShadowBlip/gamescope-wayland-client.git", version = "0.1.0" }
gamescope-x11-client = { git = "https://github.com/ShadowBlip/gamescope-x11-client.git", rev = "aa4254cdeeb5a61e3019099e57aa781b3f5ff3e6" }
gamescope-x11-client = { git = "https://github.com/ShadowBlip/gamescope-x11-client.git", rev = "9526a6e0d684d9530e8705f7f1a53efa401350f3" }
serde = "1.0.214"
2 changes: 1 addition & 1 deletion src/gamescope/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl Manager {
// Listen for new windows lifecycle
let window_lifecycle_rx = instance.listen_for_window_lifecycle()?;
// Propagate gamescope changes to DBus signals
xwayland::dispatch_primary_window_lifecycle(
xwayland::dispatch_window_lifecycle(
self.dbus.clone(),
path.clone(),
window_lifecycle_rx,
Expand Down
4 changes: 2 additions & 2 deletions src/gamescope/xwayland.rs
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ pub async fn dispatch_primary_property_changes(
/// world.
#[deprecated(
since = "1.5.0",
note = "please use `dispatch_primary_window_lifecycle` instead"
note = "please use `dispatch_window_lifecycle` instead"
)]
pub async fn dispatch_primary_window_created(
conn: zbus::Connection,
Expand All @@ -788,7 +788,7 @@ pub async fn dispatch_primary_window_created(
/// Listen for windows lifecycle and emit the appropriate DBus signals. This is
/// split into two methods to bridge the gap between the sync world and the async
/// world.
pub async fn dispatch_primary_window_lifecycle(
pub async fn dispatch_window_lifecycle(
conn: zbus::Connection,
path: String,
rx: Receiver<(WindowLifecycleEvent, u32)>,
Expand Down

0 comments on commit 69f68d2

Please sign in to comment.