setting supported ewmh atoms fixes fullscreen
This commit is contained in:
parent
ac433847c5
commit
f9afdc990d
|
@ -662,8 +662,11 @@ impl XLib {
|
||||||
self.connection.root(),
|
self.connection.root(),
|
||||||
window_attributes.event_mask,
|
window_attributes.event_mask,
|
||||||
);
|
);
|
||||||
|
|
||||||
xlib::XSetErrorHandler(Some(xlib_error_handler));
|
xlib::XSetErrorHandler(Some(xlib_error_handler));
|
||||||
xlib::XSync(self.dpy(), 0);
|
xlib::XSync(self.dpy(), 0);
|
||||||
|
|
||||||
|
self.ewmh_atoms.set_supported_atoms(self.connection.clone());
|
||||||
}
|
}
|
||||||
|
|
||||||
//#[deprecated = "use `self.connection.dpy()` instead"]
|
//#[deprecated = "use `self.connection.dpy()` instead"]
|
||||||
|
|
Loading…
Reference in a new issue