summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wl.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wl.rs b/src/wl.rs
index 5e5c0e6..c04ec06 100644
--- a/src/wl.rs
+++ b/src/wl.rs
@@ -55,6 +55,13 @@ fn main() {
     loop {
         use poly_msg_socket::Value::*;
         match msg_socket.recv() {
+            Ok(Bincode(BincodeRequest::DebugLabel)) => {
+                let result = wl.debug_label();
+                if let Err(e) = msg_socket.send(BincodeResponse::DebugLabel(result)) {
+                    panic!("responding to DebugLabel failed: {}", e);
+                }
+            }
+
             Ok(MsgOnSocket(MsgOnSocketRequest::DeviceType)) => {
                 let result = wl.device_type();
                 if let Err(e) = msg_socket.send(MsgOnSocketResponse::DeviceType(result)) {