diff --git a/src/portal/ptl_display.rs b/src/portal/ptl_display.rs index 17946f26..7c16b11d 100644 --- a/src/portal/ptl_display.rs +++ b/src/portal/ptl_display.rs @@ -157,7 +157,7 @@ impl UsrJayRenderCtxOwner for PortalDisplay { fn device(&self, fd: Rc) { self.render_ctx.take(); let dev_id = match uapi::fstat(fd.raw()) { - Ok(s) => s.st_dev, + Ok(s) => s.st_rdev, Err(e) => { log::error!("Could not fstat display device: {}", ErrorFmt(e)); return;