parent
07d3cb9820
commit
402a764a11
1 changed files with 3 additions and 0 deletions
|
|
@ -274,6 +274,9 @@ impl<C: XConnection> Dispatch<WlShmPool, client::wl_shm_pool::WlShmPool> for Ser
|
|||
Buffer { server, client }.into()
|
||||
});
|
||||
}
|
||||
Request::<WlShmPool>::Resize { size } => {
|
||||
c_pool.resize(size);
|
||||
}
|
||||
Request::<WlShmPool>::Destroy => {
|
||||
c_pool.destroy();
|
||||
state.clientside.queue.flush().unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue