setting supported ewmh atoms fixes fullscreen

This commit is contained in:
Janis 2022-05-07 17:14:43 +02:00 committed by Gitea
parent ac433847c5
commit f9afdc990d

View file

@ -662,8 +662,11 @@ impl XLib {
self.connection.root(),
window_attributes.event_mask,
);
xlib::XSetErrorHandler(Some(xlib_error_handler));
xlib::XSync(self.dpy(), 0);
self.ewmh_atoms.set_supported_atoms(self.connection.clone());
}
//#[deprecated = "use `self.connection.dpy()` instead"]