Update all dependencies
This commit is contained in:
@ -13,6 +13,6 @@ keywords = ["gui", "x11", "xcb", "xembed"]
|
||||
categories = ["gui"]
|
||||
|
||||
[dependencies]
|
||||
bitflags = "1"
|
||||
bitflags = "2"
|
||||
log = "0.4"
|
||||
xcb = { version = "1", features = ["xfixes"] }
|
||||
|
@ -130,7 +130,7 @@ impl<'a> Embedder<'a> {
|
||||
match event {
|
||||
x::Event::PropertyNotify(ev) if ev.window() == self.client && ev.atom() == intern_atom(self.conn, XEMBED_INFO_ATOM_NAME)? => {
|
||||
let info = fetch_xembed_info(self.conn, self.client)?;
|
||||
if (self.flags & XEmbedFlags::MAPPED) != (info.flags & XEmbedFlags::MAPPED) {
|
||||
if self.flags.contains(XEmbedFlags::MAPPED) != info.flags.contains(XEmbedFlags::MAPPED) {
|
||||
if info.flags.contains(XEmbedFlags::MAPPED) {
|
||||
debug!("Mapping client window");
|
||||
self.conn.send_and_check_request(&x::MapWindow {
|
||||
|
Reference in New Issue
Block a user