diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-09-25 08:47:00 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-09-25 08:47:00 -0400 |
commit | e6a6634bc50bc65e5813a9ebc336869e6e85e816 (patch) | |
tree | b1c68ec00a8780292bee8ef33a64c5647f40f1be /examples/compositor.c | |
parent | f4387b437f6fc9dce864f5aa639bf1f5ddd98043 (diff) |
Minor tweaks to (broken) keyboard support
Diffstat (limited to 'examples/compositor.c')
-rw-r--r-- | examples/compositor.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/compositor.c b/examples/compositor.c index 8c1f9b09..6f28b193 100644 --- a/examples/compositor.c +++ b/examples/compositor.c @@ -122,10 +122,7 @@ static void example_set_focused_surface(struct sample_state *sample, } if (surface) { - // TODO: send array of currently pressed keys - struct wl_array keys; - wl_array_init(&keys); - wlr_seat_keyboard_enter(sample->wl_seat, surface->surface, keys); + wlr_seat_keyboard_enter(sample->wl_seat, surface->surface); } else { wlr_seat_keyboard_clear_focus(sample->wl_seat); } |