📦📎-fixes, typo fixes
This commit is contained in:
@@ -19,15 +19,15 @@ use smithay_client_toolkit::reexports::{
|
||||
|
||||
pub use wayland_client;
|
||||
use wayland_client::{
|
||||
Connection, Dispatch, EventQueue, Proxy, QueueHandle,
|
||||
backend::WaylandError,
|
||||
globals::{registry_queue_init, GlobalList, GlobalListContents},
|
||||
globals::{GlobalList, GlobalListContents, registry_queue_init},
|
||||
protocol::{
|
||||
wl_output::{self, Transform, WlOutput},
|
||||
wl_registry::{self, WlRegistry},
|
||||
wl_seat::WlSeat,
|
||||
wl_shm::WlShm,
|
||||
},
|
||||
Connection, Dispatch, EventQueue, Proxy, QueueHandle,
|
||||
};
|
||||
|
||||
use crate::frame;
|
||||
@@ -179,10 +179,10 @@ impl WlxClient {
|
||||
}
|
||||
},
|
||||
Err(err) => {
|
||||
if let WaylandError::Io(ref e) = err {
|
||||
if e.kind() == std::io::ErrorKind::WouldBlock {
|
||||
return;
|
||||
}
|
||||
if let WaylandError::Io(ref e) = err
|
||||
&& e.kind() == std::io::ErrorKind::WouldBlock
|
||||
{
|
||||
return;
|
||||
}
|
||||
log::warn!("Error while reading from event queue: {err:?}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user