Use pointers for xwayland hints and size_hints

This commit is contained in:
emersion 2017-10-05 16:32:05 +02:00
parent 267f24753f
commit fc61e82795
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 21 additions and 9 deletions

View file

@ -59,11 +59,11 @@ struct wlr_xwayland_surface {
uint32_t motif_hints[5];
#ifdef HAS_XCB_ICCCM
xcb_icccm_wm_hints_t hints;
xcb_size_hints_t size_hints;
xcb_icccm_wm_hints_t *hints;
xcb_size_hints_t *size_hints;
#else
char hints_padding[36];
char size_hints_padding[72];
void *hints;
void *size_hints;
#endif
struct {