More cleanups; added missing request_cursor functionality

This commit is contained in:
Keith Bowes 2020-02-22 21:30:44 -05:00
parent 8bc4352eb8
commit cd96e1c124
6 changed files with 43 additions and 17 deletions

View file

@ -105,7 +105,6 @@ void output_frame_notify(struct wl_listener *listener, void *data) {
wlr_renderer_end(renderer);
wlr_output_commit(wlr_output);
output->last_frame = now;
}
void output_destroy_notify(struct wl_listener *listener, void *data) {
@ -134,7 +133,6 @@ void new_output_notify(struct wl_listener *listener, void *data) {
}
struct wb_output *output = calloc(1, sizeof(struct wb_output));
clock_gettime(CLOCK_MONOTONIC, &output->last_frame);
output->server = server;
output->wlr_output = wlr_output;
wl_list_insert(&server->outputs, &output->link);