mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Make implementation function lists static const
This requires a change to the type of `struct wlr_tablet` and `wlr_tablet_init` signature, both of which are part of the unstable API.
This commit is contained in:
parent
b6dea80907
commit
a290d7a78d
15 changed files with 31 additions and 31 deletions
|
|
@ -541,7 +541,7 @@ static void xdg_surface_handle_configure(void *data,
|
|||
// nothing else?
|
||||
}
|
||||
|
||||
static struct xdg_surface_listener xdg_surface_listener = {
|
||||
static const struct xdg_surface_listener xdg_surface_listener = {
|
||||
.configure = xdg_surface_handle_configure,
|
||||
};
|
||||
|
||||
|
|
@ -566,7 +566,7 @@ static void xdg_toplevel_handle_close(void *data,
|
|||
wlr_output_destroy(&output->wlr_output);
|
||||
}
|
||||
|
||||
static struct xdg_toplevel_listener xdg_toplevel_listener = {
|
||||
static const struct xdg_toplevel_listener xdg_toplevel_listener = {
|
||||
.configure = xdg_toplevel_handle_configure,
|
||||
.close = xdg_toplevel_handle_close,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue