summary refs log tree commit diff
path: root/gpu_display/src/gpu_display_wl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'gpu_display/src/gpu_display_wl.rs')
-rw-r--r--gpu_display/src/gpu_display_wl.rs12
1 files changed, 11 insertions, 1 deletions
diff --git a/gpu_display/src/gpu_display_wl.rs b/gpu_display/src/gpu_display_wl.rs
index 3e1fe92..04ddb54 100644
--- a/gpu_display/src/gpu_display_wl.rs
+++ b/gpu_display/src/gpu_display_wl.rs
@@ -12,7 +12,7 @@ mod dwl;
 
 use dwl::*;
 
-use crate::{DisplayT, GpuDisplayError, GpuDisplayFramebuffer};
+use crate::{DisplayT, EventDevice, GpuDisplayError, GpuDisplayFramebuffer};
 
 use std::cell::Cell;
 use std::collections::HashMap;
@@ -341,6 +341,16 @@ impl DisplayT for DisplayWl {
             None => debug_assert!(false, "invalid surface_id {}", surface_id),
         }
     }
+
+    fn import_event_device(&mut self, _event_device: EventDevice) -> Result<u32, GpuDisplayError> {
+        Err(GpuDisplayError::Unsupported)
+    }
+    fn release_event_device(&mut self, _event_device_id: u32) {
+        // unsupported
+    }
+    fn attach_event_device(&mut self, surface_id: u32, event_device_id: u32) {
+        // unsupported
+    }
 }
 
 impl AsRawFd for DisplayWl {