all: add (Clone)Cell::is_some and is_none
This commit is contained in:
parent
7a67784502
commit
54d93f84da
32 changed files with 98 additions and 62 deletions
|
|
@ -16,6 +16,7 @@ use {
|
|||
utils::{
|
||||
bitflags::BitflagsExt,
|
||||
buffd::{MsgParser, MsgParserError},
|
||||
cell_ext::CellExt,
|
||||
linkedlist::LinkedNode,
|
||||
numcell::NumCell,
|
||||
},
|
||||
|
|
@ -253,7 +254,7 @@ impl ZwlrLayerSurfaceV1 {
|
|||
}
|
||||
self.size.set((width, height));
|
||||
}
|
||||
if self.acked_serial.get().is_none() {
|
||||
if self.acked_serial.is_none() {
|
||||
send_configure = true;
|
||||
}
|
||||
if send_configure {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue