Don't need to worry about MAPPING_NOTIFY events for clipboard

This commit is contained in:
Wez Furlong committed 2018-02-22 08:41:27 -08:00
1 parent 79ebf717e8
commit 697f07cb51
1 file changed
+4
+4
View File
@@ -279,6 +279,10 @@ impl<F: Fn() + Send + 'static> ClipboardImpl<F> {
);
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 {}",