diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-12-24 14:21:37 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-12-28 16:10:03 +0000 |
| commit | a835436537098966c817d0d7aafbf01ed43589fa (patch) | |
| tree | 77527125a50981ad23858ad542a6fd029fcb548d | |
| parent | changelog: irc+ircs added to default value of url.protocols (diff) | |
term_mouse_grabbed(): make ‘seat’ argument const
| -rw-r--r-- | terminal.c | 5 | ||||
| -rw-r--r-- | terminal.h | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -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; @@ -759,7 +759,7 @@ void term_mouse_up( void term_mouse_motion( struct terminal *term, int button, int row, int col, bool shift, bool alt, bool ctrl); -bool term_mouse_grabbed(const struct terminal *term, struct seat *seat); +bool term_mouse_grabbed(const struct terminal *term, const struct seat *seat); void term_xcursor_update(struct terminal *term); void term_xcursor_update_for_seat(struct terminal *term, struct seat *seat); |
