mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
sway pointer
This commit is contained in:
parent
4d449743c5
commit
9ae906cd37
2 changed files with 37 additions and 2 deletions
|
|
@ -10,11 +10,18 @@ struct sway_seat {
|
|||
struct sway_input_manager *input;
|
||||
swayc_t *focus;
|
||||
|
||||
struct wl_list keyboards;
|
||||
struct wl_list keyboards; // sway_keyboard::link
|
||||
struct wl_list pointers; // sway_pointer::link
|
||||
|
||||
struct wl_listener focus_destroy;
|
||||
};
|
||||
|
||||
struct sway_pointer {
|
||||
struct sway_seat *seat;
|
||||
struct wlr_input_device *device;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
struct sway_seat *sway_seat_create(struct sway_input_manager *input,
|
||||
const char *seat_name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue