aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-05 16:32:05 +0200
committeremersion <contact@emersion.fr>2017-10-05 19:11:28 +0200
commitfc61e827953479037bd3408a2ff14fa894bcfde1 (patch)
tree80a0f8790b8c0a35582bb8167458478639aabb0d /include
parent267f24753f010e6ac7e49f7bfb27a9c85f40b62d (diff)
Use pointers for xwayland hints and size_hints
Diffstat (limited to 'include')
-rw-r--r--include/wlr/xwayland.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 73df1ea9..05453c21 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -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 {