mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-06 13:29:48 -05:00
Include the currently pressed keys in keyboard focus event.
This commit is contained in:
parent
7e3e860031
commit
3c38fa0c3e
7 changed files with 106 additions and 9 deletions
4
window.c
4
window.c
|
|
@ -33,6 +33,7 @@
|
|||
#include <cairo-drm.h>
|
||||
|
||||
#include <linux/input.h>
|
||||
#include "wayland-util.h"
|
||||
#include "wayland-client.h"
|
||||
#include "wayland-glib.h"
|
||||
|
||||
|
|
@ -490,7 +491,8 @@ window_handle_pointer_focus(void *data,
|
|||
static void
|
||||
window_handle_keyboard_focus(void *data,
|
||||
struct wl_input_device *input_device,
|
||||
struct wl_surface *surface)
|
||||
struct wl_surface *surface,
|
||||
struct wl_array *keys)
|
||||
{
|
||||
struct window *window = data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue