1
0
Fork 0
forked from wry/wry

autocommit 2022-02-06 03:46:03 CET

This commit is contained in:
Julian Orth 2022-02-06 03:46:03 +01:00
parent 59ce74681a
commit c92346324b
60 changed files with 1292 additions and 1958 deletions

View file

@ -4,10 +4,7 @@ use crate::client::DynEventFormatter;
use crate::object::Object;
use std::rc::Rc;
use types::*;
const DONE: u32 = 0;
id!(WlCallbackId);
use crate::wire::wl_callback::*;
pub struct WlCallback {
id: WlCallbackId,
@ -19,7 +16,7 @@ impl WlCallback {
}
pub fn done(self: &Rc<Self>) -> DynEventFormatter {
Box::new(Done { obj: self.clone() })
Box::new(Done { self_id: self.id, callback_data: 0 })
}
}