term_mouse_grabbed(): make ‘seat’ argument const

This commit is contained in:
Daniel Eklöf 2021-12-24 15:21:37 +01:00
parent 1217cb50d2
commit a835436537
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 4 additions and 3 deletions

View file

@ -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;