mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
xdg-shell: add wlr_xdg_toplevel_configure()
A struct wlr_xdg_toplevel_configure is passed in with the whole state. This makes it a lot clearer that the size and WM state are always sent to the client.
This commit is contained in:
parent
8582b45c9e
commit
098cb9b7a3
2 changed files with 30 additions and 0 deletions
|
|
@ -374,6 +374,12 @@ struct wlr_xdg_positioner *wlr_xdg_positioner_from_resource(
|
|||
*/
|
||||
void wlr_xdg_surface_ping(struct wlr_xdg_surface *surface);
|
||||
|
||||
/**
|
||||
* Configure the toplevel. Returns the associated configure serial.
|
||||
*/
|
||||
uint32_t wlr_xdg_toplevel_configure(struct wlr_xdg_toplevel *toplevel,
|
||||
const struct wlr_xdg_toplevel_configure *configure);
|
||||
|
||||
/**
|
||||
* Request that this toplevel surface be the given size. Returns the associated
|
||||
* configure serial.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue