autocommit 2022-02-06 03:46:03 CET
This commit is contained in:
parent
59ce74681a
commit
c92346324b
60 changed files with 1292 additions and 1958 deletions
|
|
@ -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 })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue