mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 02:19:49 +01:00
seat/keyboard: constify wlr_seat_keyboard_send_modifiers()
This commit is contained in:
parent
f41dcb3a97
commit
12e04d8f83
2 changed files with 2 additions and 2 deletions
|
@ -510,7 +510,7 @@ void wlr_seat_keyboard_send_key(struct wlr_seat *seat, uint32_t time_msec,
|
|||
* wlr_seat_keyboard_notify_modifiers() instead.
|
||||
*/
|
||||
void wlr_seat_keyboard_send_modifiers(struct wlr_seat *seat,
|
||||
struct wlr_keyboard_modifiers *modifiers);
|
||||
const struct wlr_keyboard_modifiers *modifiers);
|
||||
|
||||
/**
|
||||
* Send a keyboard enter event to the given surface and consider it to be the
|
||||
|
|
|
@ -192,7 +192,7 @@ static void seat_keyboard_handle_surface_destroy(struct wl_listener *listener,
|
|||
}
|
||||
|
||||
void wlr_seat_keyboard_send_modifiers(struct wlr_seat *seat,
|
||||
struct wlr_keyboard_modifiers *modifiers) {
|
||||
const struct wlr_keyboard_modifiers *modifiers) {
|
||||
struct wlr_seat_client *client = seat->keyboard_state.focused_client;
|
||||
if (client == NULL) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue