diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-02-03 21:45:51 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-02-03 21:45:51 -0500 |
| commit | 3530da0ca88eeeb0c412e4dbb3f0984c963f0874 (patch) | |
| tree | 518f1d6660fdb6527c0e4524589315b00febbe73 /swaybar/input.c | |
| parent | d7529d1db47a4a90c9001358a31468b1f9e9752f (diff) | |
Make Wayland request listeners static const when possible
Diffstat (limited to 'swaybar/input.c')
| -rw-r--r-- | swaybar/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/input.c b/swaybar/input.c index 4fe6dd93..67f3522a 100644 --- a/swaybar/input.c +++ b/swaybar/input.c @@ -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, |
