cursor: handle button press on layer-surface (issue #41)

This commit is contained in:
Johan Malm 2021-07-12 16:44:30 +01:00
parent 97a5695ccb
commit ee15a5fe56
5 changed files with 74 additions and 22 deletions

View file

@ -229,18 +229,6 @@ arrange_layers(struct output *output)
}
}
static struct output *
output_from_wlr_output(struct server *server, struct wlr_output *wlr_output)
{
struct output *output;
wl_list_for_each(output, &server->outputs, link) {
if (output->wlr_output == wlr_output) {
return output;
}
}
return NULL;
}
static void
output_destroy_notify(struct wl_listener *listener, void *data)
{