mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-19 05:33:44 -04: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) {
|
if (button == BTN_RIGHT && tll_length(seat->mouse.buttons) == 1) {
|
||||||
struct csd_data info;
|
const struct csd_data info = get_csd_data(term, CSD_SURF_TITLE);
|
||||||
info = get_csd_data(term, CSD_SURF_TITLE);
|
|
||||||
xdg_toplevel_show_window_menu(
|
xdg_toplevel_show_window_menu(
|
||||||
win->xdg_toplevel,
|
win->xdg_toplevel,
|
||||||
seat->wl_seat,
|
seat->wl_seat,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue