mirror of
https://github.com/swaywm/sway.git
synced 2026-02-28 01:41:02 -05:00
Make Wayland request listeners static const when possible
This commit is contained in:
parent
cb3c727632
commit
8f2cd3236f
3 changed files with 10 additions and 10 deletions
|
|
@ -339,7 +339,7 @@ static void wl_pointer_axis_discrete(void *data, struct wl_pointer *wl_pointer,
|
|||
seat->axis[axis].discrete_steps += abs(discrete);
|
||||
}
|
||||
|
||||
static struct wl_pointer_listener pointer_listener = {
|
||||
static const struct wl_pointer_listener pointer_listener = {
|
||||
.enter = wl_pointer_enter,
|
||||
.leave = wl_pointer_leave,
|
||||
.motion = wl_pointer_motion,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue