mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Parse _MOTIF_HINTS
This commit is contained in:
parent
fc61e82795
commit
454a6a902b
2 changed files with 32 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue