From a835436537098966c817d0d7aafbf01ed43589fa Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 24 Dec 2021 15:21:37 +0100 Subject: term_mouse_grabbed(): make ‘seat’ argument const MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- terminal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index f8612c46..4e0412a7 100644 --- a/terminal.c +++ b/terminal.c @@ -2827,10 +2827,11 @@ report_mouse_motion(struct terminal *term, int encoded_button, int row, int col) } bool -term_mouse_grabbed(const struct terminal *term, struct seat *seat) +term_mouse_grabbed(const struct terminal *term, const struct seat *seat) { /* - * Mouse is grabbed by us, regardless of whether mouse tracking has been enabled or not. + * Mouse is grabbed by us, regardless of whether mouse tracking + * has been enabled or not. */ xkb_mod_mask_t mods; -- cgit v1.3