aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-05 12:32:12 +0200
committeremersion <contact@emersion.fr>2017-10-05 19:10:23 +0200
commited9796ec683b64655c60b09f0c9969263f4394d6 (patch)
tree7e85d97f2ee833e7ea34752aad0ef2b4e16bdc08 /include
parentef5914bdb61e788cf3b62378c4e7a14d8bf0430f (diff)
xwayland: parse normal hints
Diffstat (limited to 'include')
-rw-r--r--include/wlr/xwayland.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index dc9798b2..181259fa 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -6,6 +6,10 @@
#include <wlr/types/wlr_compositor.h>
#include <xcb/xcb.h>
+#ifdef HAS_XCB_ICCCM
+ #include <xcb/xcb_icccm.h>
+#endif
+
struct wlr_xwm;
struct wlr_xwayland {
@@ -54,6 +58,9 @@ struct wlr_xwayland_surface {
size_t protocols_len;
uint32_t motif_hints[5];
+ #ifdef HAS_XCB_ICCCM
+ xcb_size_hints_t size_hints;
+ #endif
struct {
struct wl_signal destroy;