aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-24 14:21:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-12-28 16:10:03 +0000
commita835436537098966c817d0d7aafbf01ed43589fa (patch)
tree77527125a50981ad23858ad542a6fd029fcb548d /terminal.c
parentchangelog: irc+ircs added to default value of url.protocols (diff)
term_mouse_grabbed(): make ‘seat’ argument const
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c5
1 files changed, 3 insertions, 2 deletions
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;