feat: handle wl_seat global
This commit is contained in:
@@ -19,6 +19,12 @@ private:
|
||||
static void registry_handle_global_remove(void *data,
|
||||
struct wl_registry *registry,
|
||||
uint32_t name);
|
||||
static void seat_handle_capabilities(void *data,
|
||||
struct wl_seat *seat,
|
||||
uint32_t capabilities);
|
||||
static void seat_handle_name(void *data,
|
||||
struct wl_seat *seat,
|
||||
const char *name);
|
||||
private:
|
||||
WaylandState();
|
||||
~WaylandState();
|
||||
@@ -33,8 +39,15 @@ private:
|
||||
struct xdg_wm_base_listener m_wm_base_listener;
|
||||
struct wl_registry_listener m_reg_listener;
|
||||
|
||||
struct wl_shm *m_shm;
|
||||
|
||||
struct wl_seat *m_seat;
|
||||
struct wl_seat_listener m_seat_listener;
|
||||
struct wl_pointer* m_pointer;
|
||||
|
||||
friend class WaylandWindowImpl;
|
||||
friend class Renderer;
|
||||
friend class WaylandInputHandler;
|
||||
};
|
||||
|
||||
#endif // H_WAYLAND_STATE_
|
||||
|
||||
Reference in New Issue
Block a user