From ce6d2496d3d65f875fbe1d7dbebc987613cf9f04 Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Wed, 2 Nov 2016 20:07:49 +0100 Subject: [PATCH] wayland: sync drawn border size on window creation --- src/api/wayland/window.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/wayland/window.rs b/src/api/wayland/window.rs index f08e17cd..30b7365a 100644 --- a/src/api/wayland/window.rs +++ b/src/api/wayland/window.rs @@ -87,6 +87,8 @@ impl Window { } else if attributes.decorations { decorated.set_decorate(true); } + // Finally, set the decorations size + decorated.resize(width as i32, height as i32); } // init general handler