wayland: Resized event
This commit is contained in:
parent
bfc709fdd1
commit
f3e67128db
2 changed files with 15 additions and 1 deletions
|
|
@ -218,4 +218,11 @@ impl WaylandContext {
|
|||
p.lock().unwrap().remove_handled_surface(sid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn push_event_for(&self, sid: SurfaceId, evt: Event) {
|
||||
let mut guard = self.windows_event_queues.lock().unwrap();
|
||||
if let Some(queue) = guard.get(&sid) {
|
||||
queue.lock().unwrap().push_back(evt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue