wayland: sync drawn border size on window creation

This commit is contained in:
Victor Berger 2016-11-02 20:07:49 +01:00
parent 3373e45e13
commit ce6d2496d3

View file

@ -87,6 +87,8 @@ impl Window {
} else if attributes.decorations { } else if attributes.decorations {
decorated.set_decorate(true); decorated.set_decorate(true);
} }
// Finally, set the decorations size
decorated.resize(width as i32, height as i32);
} }
// init general handler // init general handler