mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
layer-shell-v1: specify version in constructor
This allows compositors to indicate which features they support, and is required to eventually make this API stable. References: https://github.com/swaywm/sway/issues/7260
This commit is contained in:
parent
4026da53f8
commit
9f793d3503
2 changed files with 7 additions and 4 deletions
|
|
@ -122,7 +122,8 @@ struct wlr_layer_surface_v1 {
|
|||
void *data;
|
||||
};
|
||||
|
||||
struct wlr_layer_shell_v1 *wlr_layer_shell_v1_create(struct wl_display *display);
|
||||
struct wlr_layer_shell_v1 *wlr_layer_shell_v1_create(struct wl_display *display,
|
||||
uint32_t version);
|
||||
|
||||
/**
|
||||
* Notifies the layer surface to configure itself with this width/height. The
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue