diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-30 21:15:13 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-30 21:15:13 +0000 |
| commit | fce13c4106afa3509536802d2c7d74e4d8b8e50d (patch) | |
| tree | 02b9431977620f8113f4a6be31e52fb724839887 | |
| parent | term: xcursor_update_for_seat(): remove duplicate check for term->is_searching (diff) | |
input: make csd_data variable ‘const’
| -rw-r--r-- | input.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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, |
