diff options
author | emersion <contact@emersion.fr> | 2017-10-05 16:49:47 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-10-05 19:11:28 +0200 |
commit | 454a6a902b7e78576fa77e77395cbd26901b18e2 (patch) | |
tree | 97f66719ee998daac805b02d3d547f927c0ab6fb /include/wlr/xwayland.h | |
parent | fc61e827953479037bd3408a2ff14fa894bcfde1 (diff) |
Parse _MOTIF_HINTS
Diffstat (limited to 'include/wlr/xwayland.h')
-rw-r--r-- | include/wlr/xwayland.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index 05453c21..1f2d7acb 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -33,6 +33,12 @@ struct wlr_xwayland { void *data; }; +enum wlr_xwayland_surface_decorations { + WLR_XWAYLAND_SURFACE_DECORATIONS_ALL = 0, + WLR_XWAYLAND_SURFACE_DECORATIONS_NO_BORDER = 1, + WLR_XWAYLAND_SURFACE_DECORATIONS_NO_TITLE = 2, +}; + struct wlr_xwayland_surface { xcb_window_t window_id; uint32_t surface_id; @@ -57,7 +63,8 @@ struct wlr_xwayland_surface { xcb_atom_t *protocols; size_t protocols_len; - uint32_t motif_hints[5]; + uint32_t decorations; + #ifdef HAS_XCB_ICCCM xcb_icccm_wm_hints_t *hints; xcb_size_hints_t *size_hints; |