diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-31 10:22:57 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-09-01 23:47:19 -0700 |
| commit | 0f522f209b415444fd97ba5ecf30c13c179cede7 (patch) | |
| tree | 94ba8fbeb9b35cf3837bf77f4a6cebffb00f497e /src/handlers | |
| parent | 30b213601a4f71d65a2227fa68ffb1ab2a69f671 (diff) | |
| download | niri-0f522f209b415444fd97ba5ecf30c13c179cede7.tar.gz niri-0f522f209b415444fd97ba5ecf30c13c179cede7.tar.bz2 niri-0f522f209b415444fd97ba5ecf30c13c179cede7.zip | |
Change MappedIt::get() to return u64
Diffstat (limited to 'src/handlers')
| -rw-r--r-- | src/handlers/compositor.rs | 2 | ||||
| -rw-r--r-- | src/handlers/xdg_shell.rs | 2 |
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| { |
