Add padding if xcb_icccm is not available

This commit is contained in:
emersion 2017-10-05 15:42:16 +02:00
parent ed9796ec68
commit ca68ef37f0
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 2 additions and 0 deletions

View File

@ -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 {