mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
xdg-shell: document struct wlr_xdg_toplevel_configure
This commit is contained in:
parent
3d2f09bace
commit
8582b45c9e
1 changed files with 9 additions and 0 deletions
|
|
@ -153,14 +153,23 @@ enum wlr_xdg_toplevel_configure_field {
|
||||||
WLR_XDG_TOPLEVEL_CONFIGURE_WM_CAPABILITIES = 1 << 1,
|
WLR_XDG_TOPLEVEL_CONFIGURE_WM_CAPABILITIES = 1 << 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* State set in an toplevel configure sequence.
|
||||||
|
*/
|
||||||
struct wlr_xdg_toplevel_configure {
|
struct wlr_xdg_toplevel_configure {
|
||||||
|
// Bitmask of optional fields which are set
|
||||||
uint32_t fields; // enum wlr_xdg_toplevel_configure_field
|
uint32_t fields; // enum wlr_xdg_toplevel_configure_field
|
||||||
|
|
||||||
|
// The following fields must always be set to reflect the current state
|
||||||
bool maximized, fullscreen, resizing, activated, suspended;
|
bool maximized, fullscreen, resizing, activated, suspended;
|
||||||
uint32_t tiled; // enum wlr_edges
|
uint32_t tiled; // enum wlr_edges
|
||||||
int32_t width, height;
|
int32_t width, height;
|
||||||
|
|
||||||
|
// Only for WLR_XDG_TOPLEVEL_CONFIGURE_BOUNDS
|
||||||
struct {
|
struct {
|
||||||
int32_t width, height;
|
int32_t width, height;
|
||||||
} bounds;
|
} bounds;
|
||||||
|
// Only for WLR_XDG_TOPLEVEL_CONFIGURE_WM_CAPABILITIES
|
||||||
uint32_t wm_capabilities; // enum wlr_xdg_toplevel_wm_capabilities
|
uint32_t wm_capabilities; // enum wlr_xdg_toplevel_wm_capabilities
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue