From ca68ef37f056562206b0c4b0442cbfedc8a5e5f3 Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 5 Oct 2017 15:42:16 +0200 Subject: [PATCH] Add padding if xcb_icccm is not available --- include/wlr/xwayland.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index 181259fa..3cbaee59 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -60,6 +60,8 @@ struct wlr_xwayland_surface { uint32_t motif_hints[5]; #ifdef HAS_XCB_ICCCM xcb_size_hints_t size_hints; + #else + char size_hints_padding[72]; #endif struct {