aboutsummaryrefslogtreecommitdiff
path: root/src/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers')
-rw-r--r--src/handlers/compositor.rs2
-rw-r--r--src/handlers/xdg_shell.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/handlers/compositor.rs b/src/handlers/compositor.rs
index ebc4a984..2244da19 100644
--- a/src/handlers/compositor.rs
+++ b/src/handlers/compositor.rs
@@ -216,7 +216,7 @@ impl CompositorHandler for State {
#[cfg(feature = "xdp-gnome-screencast")]
self.niri
.stop_casts_for_target(crate::pw_utils::CastTarget::Window {
- id: u64::from(id.get()),
+ id: id.get(),
});
self.niri.layout.remove_window(&window, transaction.clone());
diff --git a/src/handlers/xdg_shell.rs b/src/handlers/xdg_shell.rs
index b7d267dd..2486dd7a 100644
--- a/src/handlers/xdg_shell.rs
+++ b/src/handlers/xdg_shell.rs
@@ -480,7 +480,7 @@ impl XdgShellHandler for State {
#[cfg(feature = "xdp-gnome-screencast")]
self.niri
.stop_casts_for_target(crate::pw_utils::CastTarget::Window {
- id: u64::from(mapped.id().get()),
+ id: mapped.id().get(),
});
self.backend.with_primary_renderer(|renderer| {