From 697f07cb5138dca1e29378219239c8281273770c Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 22 Feb 2018 08:40:51 -0800 Subject: [PATCH] Don't need to worry about MAPPING_NOTIFY events for clipboard --- src/clipboard/x11.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/clipboard/x11.rs b/src/clipboard/x11.rs index c1bd51f7e..21d132ebd 100644 --- a/src/clipboard/x11.rs +++ b/src/clipboard/x11.rs @@ -279,6 +279,10 @@ impl ClipboardImpl { ); self.conn.flush(); } + xcb::MAPPING_NOTIFY => { + // Nothing to do here; just don't want to print an error + // in the case below. + } _ => { eprintln!( "clipboard: got unhandled XCB event type {}",