Update all dependencies

This commit is contained in:
2024-08-02 11:21:48 -07:00
parent d0df73a9c7
commit 3cb1b1793d
23 changed files with 948 additions and 787 deletions

View File

@ -13,6 +13,6 @@ keywords = ["gui", "x11", "xcb", "xembed"]
categories = ["gui"]
[dependencies]
bitflags = "1"
bitflags = "2"
log = "0.4"
xcb = { version = "1", features = ["xfixes"] }

View File

@ -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 {