mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
seat/keyboard: constify wlr_seat_keyboard_notify_enter()
This commit is contained in:
parent
695d28c250
commit
0e54b861e9
4 changed files with 12 additions and 12 deletions
|
|
@ -110,8 +110,8 @@ struct wlr_seat_keyboard_grab;
|
|||
|
||||
struct wlr_keyboard_grab_interface {
|
||||
void (*enter)(struct wlr_seat_keyboard_grab *grab,
|
||||
struct wlr_surface *surface, uint32_t keycodes[],
|
||||
size_t num_keycodes, struct wlr_keyboard_modifiers *modifiers);
|
||||
struct wlr_surface *surface, const uint32_t keycodes[],
|
||||
size_t num_keycodes, const struct wlr_keyboard_modifiers *modifiers);
|
||||
void (*clear_focus)(struct wlr_seat_keyboard_grab *grab);
|
||||
void (*key)(struct wlr_seat_keyboard_grab *grab, uint32_t time_msec,
|
||||
uint32_t key, uint32_t state);
|
||||
|
|
@ -549,8 +549,8 @@ void wlr_seat_keyboard_notify_modifiers(struct wlr_seat *seat,
|
|||
* keyboard.
|
||||
*/
|
||||
void wlr_seat_keyboard_notify_enter(struct wlr_seat *seat,
|
||||
struct wlr_surface *surface, uint32_t keycodes[], size_t num_keycodes,
|
||||
struct wlr_keyboard_modifiers *modifiers);
|
||||
struct wlr_surface *surface, const uint32_t keycodes[], size_t num_keycodes,
|
||||
const struct wlr_keyboard_modifiers *modifiers);
|
||||
|
||||
/**
|
||||
* Notify the seat of a keyboard leave event to the currently-focused surface.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue