seat: split into multiple files

This commit is contained in:
emersion 2018-05-02 10:03:26 +01:00
parent 4b5b02057c
commit 2cff6dbd63
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
8 changed files with 1334 additions and 1275 deletions

20
include/types/wlr_seat.h Normal file
View 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