treewide: update dependencies to latest version

This commit is contained in:
Richard Acayan 2024-11-27 22:04:52 -05:00
parent 67f6538a8b
commit 9ce953ef09
No known key found for this signature in database
GPG key ID: 0346F4894879DB73
4 changed files with 12 additions and 14 deletions

View file

@ -17,10 +17,10 @@ use wayland_client::protocol::wl_buffer::WlBuffer;
use wayland_client::protocol::wl_shm_pool::WlShmPool;
use wayland_client::protocol::wl_surface::WlSurface;
use zbus::Connection;
use zbus::InterfaceRef;
use zbus::Result;
use zbus::SignalContext;
use zbus::interface;
use zbus::object_server::InterfaceRef;
use zbus::object_server::SignalEmitter;
pub struct OSK0<T: Dispatch<WlBuffer, u32>
+ Dispatch<WlShmPool, u32>
@ -31,7 +31,7 @@ pub struct OSK0<T: Dispatch<WlBuffer, u32>
+ 'static> {
visible: AtomicBool,
gfx: Arc<Mutex<Graphics<Surface<T>>>>,
sigctx: SignalContext<'static>,
sigctx: SignalEmitter<'static>,
conn_wl: Arc<wayland_client::Connection>,
}
@ -83,7 +83,7 @@ impl<T: Dispatch<WlBuffer, u32>
conn_wl: Arc<wayland_client::Connection>)
-> Result<InterfaceRef<OSK0<T>>>
{
let sigctx = SignalContext::new(conn, "/sm/puri/OSK0")?;
let sigctx = SignalEmitter::new(conn, "/sm/puri/OSK0")?;
let visible = AtomicBool::new(false);
let osk = OSK0 { visible, gfx, sigctx, conn_wl };