diff --git a/src/backend/drm/atomic/mod.rs b/src/backend/drm/atomic/mod.rs index 3dc7064..6044d2b 100644 --- a/src/backend/drm/atomic/mod.rs +++ b/src/backend/drm/atomic/mod.rs @@ -324,7 +324,7 @@ impl Device for AtomicDrmDevice { Ok(events) => { for event in events { if let Event::PageFlip(event) = event { - trace!(self.logger, "Got event!"); + trace!(self.logger, "Got a page-flip event for crtc ({:?})", event.crtc); if self.active.load(Ordering::SeqCst) { if self .backends @@ -343,10 +343,18 @@ impl Device for AtomicDrmDevice { self.backends.borrow_mut().remove(&event.crtc); } } else { - debug!(self.logger, "Device not active. Ignoring PageFlip"); + debug!( + self.logger, + "Device ({:?}) not active. Ignoring PageFlip", + self.dev_path() + ); } } else { - trace!(self.logger, "Unrelated event"); + trace!( + self.logger, + "Got a non-page-flip event of device '{:?}'.", + self.dev_path() + ); } } }