seat: remove seat_focused_surface()

This commit is contained in:
Johan Malm 2020-10-07 21:49:58 +01:00
parent 7eb33334d2
commit 8e2b3ea89a
5 changed files with 6 additions and 12 deletions

View file

@ -128,9 +128,3 @@ seat_focus_surface(struct wlr_seat *seat, struct wlr_surface *surface)
wlr_seat_keyboard_notify_enter(seat, surface, kb->keycodes,
kb->num_keycodes, &kb->modifiers);
}
struct wlr_surface *
seat_focused_surface(void)
{
return current_seat->seat->keyboard_state.focused_surface;
}