mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: make csd_data variable ‘const’
This commit is contained in:
parent
59e6285037
commit
fce13c4106
1 changed files with 1 additions and 2 deletions
3
input.c
3
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue