1
0
Fork 0
forked from wry/wry

xdg_decoration: send toplevel-configure after configure

This works around a bug in chrome where it fails to start if the first
xdg_surface::configure does not contain the toplevel configuration
itself.
This commit is contained in:
Julian Orth 2022-10-10 19:00:39 +02:00
parent 2af6d29554
commit a5e17142de
2 changed files with 2 additions and 2 deletions

View file

@ -133,7 +133,7 @@ impl XdgToplevel {
}
}
fn send_current_configure(&self) {
pub fn send_current_configure(&self) {
let rect = self.xdg.absolute_desired_extents.get();
self.send_configure_checked(rect.width(), rect.height());
self.xdg.do_send_configure();