mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
term_mouse_grabbed(): make ‘seat’ argument const
This commit is contained in:
parent
1217cb50d2
commit
a835436537
2 changed files with 4 additions and 3 deletions
|
|
@ -2827,10 +2827,11 @@ report_mouse_motion(struct terminal *term, int encoded_button, int row, int col)
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
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;
|
xkb_mod_mask_t mods;
|
||||||
|
|
|
||||||
|
|
@ -759,7 +759,7 @@ void term_mouse_up(
|
||||||
void term_mouse_motion(
|
void term_mouse_motion(
|
||||||
struct terminal *term, int button, int row, int col,
|
struct terminal *term, int button, int row, int col,
|
||||||
bool shift, bool alt, bool ctrl);
|
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(struct terminal *term);
|
||||||
void term_xcursor_update_for_seat(struct terminal *term, struct seat *seat);
|
void term_xcursor_update_for_seat(struct terminal *term, struct seat *seat);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue