From fce13c4106afa3509536802d2c7d74e4d8b8e50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 30 Nov 2021 22:15:13 +0100 Subject: [PATCH] =?UTF-8?q?input:=20make=20csd=5Fdata=20variable=20?= =?UTF-8?q?=E2=80=98const=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/input.c b/input.c index b8b27d4c..e3b14297 100644 --- a/input.c +++ b/input.c @@ -2282,8 +2282,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer, } if (button == BTN_RIGHT && tll_length(seat->mouse.buttons) == 1) { - struct csd_data info; - info = get_csd_data(term, CSD_SURF_TITLE); + const struct csd_data info = get_csd_data(term, CSD_SURF_TITLE); xdg_toplevel_show_window_menu( win->xdg_toplevel, seat->wl_seat,