diff options
| author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-08-27 16:05:12 -0500 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-08-27 16:34:29 -0500 | 
| commit | d738573e22649dfb01f70eca00cef221839c9efb (patch) | |
| tree | 46f65d4164c6a43479835226c11d2a0bebab7e09 /client.h | |
| parent | b9295e8cee8d3e057f92a9fea1523c379c298f03 (diff) | |
new function to notify keyboard enter
Diffstat (limited to 'client.h')
| -rw-r--r-- | client.h | 10 | 
1 files changed, 10 insertions, 0 deletions
| @@ -199,6 +199,16 @@ client_is_unmanaged(Client *c)  }  static inline void +client_notify_enter(struct wlr_surface *s, struct wlr_keyboard *kb) +{ +	if (kb) +		wlr_seat_keyboard_notify_enter(seat, s, kb->keycodes, +				kb->num_keycodes, &kb->modifiers); +	else +		wlr_seat_keyboard_notify_enter(seat, s, NULL, 0, NULL); +} + +static inline void  client_restack_surface(Client *c)  {  #ifdef XWAYLAND | 
