~whynothugo/shotman

52903b03efac04027eeb6c1e6fc2a6c0037ae408 — Hugo Osvaldo Barrera a month ago 8f58d08
Explicitly match ()
1 files changed, 9 insertions(+), 9 deletions(-)

M src/main.rs
M src/main.rs => src/main.rs +9 -9
@@ 167,13 167,13 @@ fn main() -> anyhow::Result<()> {
    let wl_source = WaylandSource::new(conn, event_queue);

    handle
        .insert_source(wl_source, move |_, event_queue, state| {
        .insert_source(wl_source, move |(), event_queue, state| {
            event_queue.dispatch_pending(state)
        })
        .expect("add wayland source into event loop");

    handle
        .insert_source(pipe_executor, |_, _, state| {
        .insert_source(pipe_executor, |_, (), state| {
            trace!("Async executor done.");
            state.futures.fetch_sub(1, Ordering::Release);



@@ 1040,7 1040,7 @@ impl Dispatch<wl_shm::WlShm, ()> for State {
        state: &mut Self,
        _: &wl_shm::WlShm,
        event: wl_shm::Event,
        _: &(),
        (): &(),
        _: &Connection,
        _: &QueueHandle<Self>,
    ) {


@@ 1062,7 1062,7 @@ impl Dispatch<wl_buffer::WlBuffer, ()> for State {
        _: &mut Self,
        buffer: &wl_buffer::WlBuffer,
        event: wl_buffer::Event,
        _: &(),
        (): &(),
        _: &Connection,
        _: &QueueHandle<Self>,
    ) {


@@ 1135,7 1135,7 @@ impl Dispatch<wl_seat::WlSeat, ()> for State {
        _: &mut Self,
        seat: &wl_seat::WlSeat,
        event: wl_seat::Event,
        _: &(),
        (): &(),
        _: &Connection,
        qh: &QueueHandle<Self>,
    ) {


@@ 1259,7 1259,7 @@ impl Dispatch<wl_pointer::WlPointer, ()> for State {
        state: &mut Self,
        _: &wl_pointer::WlPointer,
        event: <wl_pointer::WlPointer as wayland_client::Proxy>::Event,
        _: &(),
        (): &(),
        _: &Connection,
        _: &QueueHandle<Self>,
    ) {


@@ 1305,7 1305,7 @@ impl Dispatch<ZwlrScreencopyFrameV1, ()> for State {
        state: &mut Self,
        frame: &zwlr_screencopy_frame_v1::ZwlrScreencopyFrameV1,
        event: zwlr_screencopy_frame_v1::Event,
        _: &(),
        (): &(),
        _: &Connection,
        qh: &QueueHandle<Self>,
    ) {


@@ 1389,7 1389,7 @@ impl Dispatch<wl_data_device::WlDataDevice, ()> for State {
        _: &mut Self,
        _: &wl_data_device::WlDataDevice,
        _: <wl_data_device::WlDataDevice as wayland_client::Proxy>::Event,
        _: &(),
        (): &(),
        _: &Connection,
        _: &QueueHandle<Self>,
    ) {


@@ 1407,7 1407,7 @@ impl Dispatch<wl_data_source::WlDataSource, ()> for State {
        state: &mut Self,
        data_source: &wl_data_source::WlDataSource,
        event: <wl_data_source::WlDataSource as wayland_client::Proxy>::Event,
        _: &(),
        (): &(),
        _: &Connection,
        _: &QueueHandle<Self>,
    ) {