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

@ -25,9 +25,11 @@ struct wb_cursor {
struct wl_listener cursor_button;
struct wl_listener cursor_axis;
struct wl_listener cursor_frame;
struct wl_listener request_cursor;
};
struct wb_cursor *wb_cursor_create();
struct wb_cursor *wb_cursor_create(struct wb_server *server);
void wb_cursor_destroy(struct wb_cursor *cursor);
#endif // cursor.h

View file

@ -20,7 +20,6 @@
struct wb_output {
struct wlr_output *wlr_output;
struct wb_server *server;
struct timespec last_frame;
struct wl_listener destroy;
struct wl_listener frame;

View file

@ -6,7 +6,6 @@
#endif
#define _POSIX_C_SOURCE 200112L
#include <assert.h>
#include <stdio.h>
#include <wlr/backend.h>
@ -28,7 +27,6 @@
struct wb_server {
struct wl_display *wl_display;
struct wl_event_loop *wl_event_loop;
struct wlr_backend *backend;
struct wlr_compositor *compositor;