implement commented-out bit in seat_disinhibit_input

This commit is contained in:
Daniel Barlow 2021-08-24 21:24:08 +01:00
parent eb2d0918ba
commit ab9838888d
2 changed files with 5 additions and 4 deletions

View file

@ -344,6 +344,8 @@ void cursor_init(struct seat *seat);
void keyboard_init(struct seat *seat); void keyboard_init(struct seat *seat);
void arrange_layers(struct output *output);
void seat_init(struct server *server); void seat_init(struct server *server);
void seat_finish(struct server *server); void seat_finish(struct server *server);
void seat_focus_surface(struct seat *seat, struct wlr_surface *surface); void seat_focus_surface(struct seat *seat, struct wlr_surface *surface);

View file

@ -107,11 +107,10 @@ static void seat_disinhibit_input(struct seat *seat)
seat->active_client_while_inhibited = NULL; seat->active_client_while_inhibited = NULL;
// Triggers a refocus of the topmost surface layer if necessary // Triggers a refocus of the topmost surface layer if necessary
// TODO: Make layer surface focus per-output based on cursor position // TODO: Make layer surface focus per-output based on cursor position
/*
struct roots_output *output; struct output *output;
wl_list_for_each(output, &seat->input->server->desktop->outputs, link) { wl_list_for_each(output, &seat->server->outputs, link)
arrange_layers(output); arrange_layers(output);
*/
} }