mirror of
https://github.com/wizbright/waybox.git
synced 2026-02-13 04:28:05 -05:00
More cleanups; added missing request_cursor functionality
This commit is contained in:
parent
8bc4352eb8
commit
cd96e1c124
6 changed files with 43 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue