mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-06-30 13:14:41 -04:00
Create a single wlr_xcursor_manager
No need to create multiple of these: all use the same parameters.
This commit is contained in:
parent
e89001d597
commit
f60adfd1b6
4 changed files with 33 additions and 43 deletions
2
seat.h
2
seat.h
|
|
@ -6,7 +6,6 @@
|
|||
#include <wlr/types/wlr_data_device.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
#include <wlr/types/wlr_seat.h>
|
||||
#include <wlr/types/wlr_xcursor_manager.h>
|
||||
|
||||
#include "server.h"
|
||||
#include "view.h"
|
||||
|
|
@ -26,7 +25,6 @@ struct cg_seat {
|
|||
struct wl_listener new_input;
|
||||
|
||||
struct wlr_cursor *cursor;
|
||||
struct wlr_xcursor_manager *xcursor_manager;
|
||||
struct wl_listener cursor_motion_relative;
|
||||
struct wl_listener cursor_motion_absolute;
|
||||
struct wl_listener cursor_button;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue