mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-16 06:59:44 -05:00
seat: split into multiple files
This commit is contained in:
parent
4b5b02057c
commit
2cff6dbd63
8 changed files with 1334 additions and 1275 deletions
20
include/types/wlr_seat.h
Normal file
20
include/types/wlr_seat.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef TYPES_WLR_SEAT_H
|
||||
#define TYPES_WLR_SEAT_H
|
||||
|
||||
#include <wayland-server.h>
|
||||
#include <wlr/types/wlr_seat.h>
|
||||
|
||||
const struct wlr_pointer_grab_interface default_pointer_grab_impl;
|
||||
const struct wlr_keyboard_grab_interface default_keyboard_grab_impl;
|
||||
const struct wlr_touch_grab_interface default_touch_grab_impl;
|
||||
|
||||
void seat_client_create_pointer(struct wlr_seat_client *seat_client,
|
||||
uint32_t version, uint32_t id);
|
||||
|
||||
void seat_client_create_keyboard(struct wlr_seat_client *seat_client,
|
||||
uint32_t version, uint32_t id);
|
||||
|
||||
void seat_client_create_touch(struct wlr_seat_client *seat_client,
|
||||
uint32_t version, uint32_t id);
|
||||
|
||||
#endif
|
||||
|
|
@ -42,7 +42,6 @@ struct wlr_touch_point {
|
|||
|
||||
struct wl_listener surface_destroy;
|
||||
struct wl_listener focus_surface_destroy;
|
||||
struct wl_listener resource_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
|
|
@ -138,7 +137,6 @@ struct wlr_seat_pointer_state {
|
|||
uint32_t grab_time;
|
||||
|
||||
struct wl_listener surface_destroy;
|
||||
struct wl_listener resource_destroy;
|
||||
};
|
||||
|
||||
// TODO: May be useful to be able to simulate keyboard input events
|
||||
|
|
@ -154,7 +152,6 @@ struct wlr_seat_keyboard_state {
|
|||
struct wl_listener keyboard_repeat_info;
|
||||
|
||||
struct wl_listener surface_destroy;
|
||||
struct wl_listener resource_destroy;
|
||||
|
||||
struct wlr_seat_keyboard_grab *grab;
|
||||
struct wlr_seat_keyboard_grab *default_grab;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue