Update everyone to use new headers
This commit is contained in:
parent
53a8b4f127
commit
fd91244e83
|
@ -8,9 +8,9 @@
|
||||||
#include <xf86drm.h>
|
#include <xf86drm.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include <wlr/backend/interface.h>
|
#include <wlr/backend/interface.h>
|
||||||
|
#include <wlr/interfaces/wlr_output.h>
|
||||||
#include "backend/udev.h"
|
#include "backend/udev.h"
|
||||||
#include "backend/drm.h"
|
#include "backend/drm.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
#include <GLES3/gl3.h>
|
#include <GLES3/gl3.h>
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
#include <wlr/backend/interface.h>
|
#include <wlr/backend/interface.h>
|
||||||
|
#include <wlr/interfaces/wlr_output.h>
|
||||||
#include "backend/drm.h"
|
#include "backend/drm.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
static const char *conn_name[] = {
|
static const char *conn_name[] = {
|
||||||
[DRM_MODE_CONNECTOR_Unknown] = "Unknown",
|
[DRM_MODE_CONNECTOR_Unknown] = "Unknown",
|
||||||
|
|
|
@ -2,11 +2,10 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <libinput.h>
|
#include <libinput.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
|
#include <wlr/interfaces/wlr_input_device.h>
|
||||||
#include "backend/libinput.h"
|
#include "backend/libinput.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_input_device *get_appropriate_device(
|
struct wlr_input_device *get_appropriate_device(
|
||||||
enum wlr_input_device_type desired_type,
|
enum wlr_input_device_type desired_type,
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <libinput.h>
|
#include <libinput.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_input_device.h>
|
||||||
|
#include <wlr/interfaces/wlr_keyboard.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "backend/libinput.h"
|
#include "backend/libinput.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_keyboard_state {
|
struct wlr_keyboard_state {
|
||||||
struct libinput_device *device;
|
struct libinput_device *device;
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <libinput.h>
|
#include <libinput.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_input_device.h>
|
||||||
|
#include <wlr/interfaces/wlr_pointer.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "backend/libinput.h"
|
#include "backend/libinput.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_pointer *wlr_libinput_pointer_create(
|
struct wlr_pointer *wlr_libinput_pointer_create(
|
||||||
struct libinput_device *device) {
|
struct libinput_device *device) {
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <libinput.h>
|
#include <libinput.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_input_device.h>
|
||||||
|
#include <wlr/interfaces/wlr_tablet_pad.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "backend/libinput.h"
|
#include "backend/libinput.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_tablet_pad *wlr_libinput_tablet_pad_create(
|
struct wlr_tablet_pad *wlr_libinput_tablet_pad_create(
|
||||||
struct libinput_device *device) {
|
struct libinput_device *device) {
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <libinput.h>
|
#include <libinput.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_input_device.h>
|
||||||
|
#include <wlr/interfaces/wlr_tablet_tool.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "backend/libinput.h"
|
#include "backend/libinput.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_tablet_tool *wlr_libinput_tablet_tool_create(
|
struct wlr_tablet_tool *wlr_libinput_tablet_tool_create(
|
||||||
struct libinput_device *device) {
|
struct libinput_device *device) {
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <libinput.h>
|
#include <libinput.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_input_device.h>
|
||||||
|
#include <wlr/interfaces/wlr_touch.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "backend/libinput.h"
|
#include "backend/libinput.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_touch *wlr_libinput_touch_create(
|
struct wlr_touch *wlr_libinput_touch_create(
|
||||||
struct libinput_device *device) {
|
struct libinput_device *device) {
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <wlr/backend/interface.h>
|
#include <wlr/backend/interface.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/interfaces/wlr_output.h>
|
||||||
|
#include <wlr/interfaces/wlr_input_device.h>
|
||||||
#include "backend/wayland.h"
|
#include "backend/wayland.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "types.h"
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <EGL/eglext.h>
|
#include <EGL/eglext.h>
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
#include <wlr/types.h>
|
|
||||||
#include <GLES3/gl3.h>
|
#include <GLES3/gl3.h>
|
||||||
#include "types.h"
|
#include <wlr/interfaces/wlr_output.h>
|
||||||
#include "backend/wayland.h"
|
#include "backend/wayland.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
#include <wlr/types.h>
|
|
||||||
#include "types.h"
|
|
||||||
#include "backend/wayland.h"
|
#include "backend/wayland.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,10 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/interfaces/wlr_output.h>
|
||||||
#include "types.h"
|
#include <wlr/interfaces/wlr_input_device.h>
|
||||||
|
#include <wlr/interfaces/wlr_pointer.h>
|
||||||
|
#include <wlr/interfaces/wlr_keyboard.h>
|
||||||
#include "backend/wayland.h"
|
#include "backend/wayland.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include <wlr/render.h>
|
#include <wlr/render.h>
|
||||||
#include <wlr/backend.h>
|
#include <wlr/backend.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_keyboard.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "shared.h"
|
#include "shared.h"
|
||||||
#include "cat.h"
|
#include "cat.h"
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include <wlr/render.h>
|
#include <wlr/render.h>
|
||||||
#include <wlr/backend.h>
|
#include <wlr/backend.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_keyboard.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "shared.h"
|
#include "shared.h"
|
||||||
#include "cat.h"
|
#include "cat.h"
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
#include <wayland-server-protocol.h>
|
#include <wayland-server-protocol.h>
|
||||||
#include <wlr/backend.h>
|
#include <wlr/backend.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_output.h>
|
||||||
|
#include <wlr/types/wlr_input_device.h>
|
||||||
#include "shared.h"
|
#include "shared.h"
|
||||||
|
|
||||||
static void keyboard_led_update(struct keyboard_state *kbstate) {
|
static void keyboard_led_update(struct keyboard_state *kbstate) {
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
#include <wayland-server-protocol.h>
|
#include <wayland-server-protocol.h>
|
||||||
#include <wlr/backend.h>
|
#include <wlr/backend.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_output.h>
|
||||||
|
#include <wlr/types/wlr_input_device.h>
|
||||||
|
|
||||||
struct output_state {
|
struct output_state {
|
||||||
struct compositor_state *compositor;
|
struct compositor_state *compositor;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include <GLES3/gl3.h>
|
#include <GLES3/gl3.h>
|
||||||
#include <wlr/backend.h>
|
#include <wlr/backend.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_output.h>
|
||||||
#include <xkbcommon/xkbcommon.h>
|
#include <xkbcommon/xkbcommon.h>
|
||||||
#include "shared.h"
|
#include "shared.h"
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,9 @@
|
||||||
#include <wlr/render.h>
|
#include <wlr/render.h>
|
||||||
#include <wlr/backend.h>
|
#include <wlr/backend.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_output.h>
|
||||||
|
#include <wlr/types/wlr_tablet_tool.h>
|
||||||
|
#include <wlr/types/wlr_tablet_pad.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "shared.h"
|
#include "shared.h"
|
||||||
#include "cat.h"
|
#include "cat.h"
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#include <wlr/render.h>
|
#include <wlr/render.h>
|
||||||
#include <wlr/backend.h>
|
#include <wlr/backend.h>
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/types.h>
|
|
||||||
#include "shared.h"
|
#include "shared.h"
|
||||||
#include "cat.h"
|
#include "cat.h"
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
#include <wlr/backend/interface.h>
|
#include <wlr/backend/interface.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include <wayland-server-core.h>
|
#include <wayland-server-core.h>
|
||||||
|
#include <wlr/interfaces/wlr_input_device.h>
|
||||||
#include "backend/udev.h"
|
#include "backend/udev.h"
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_backend_state {
|
struct wlr_backend_state {
|
||||||
struct wlr_backend *backend;
|
struct wlr_backend *backend;
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include <wayland-egl.h>
|
#include <wayland-egl.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include <wlr/backend/wayland.h>
|
#include <wlr/backend/wayland.h>
|
||||||
|
#include <wlr/types/wlr_input_device.h>
|
||||||
#include "backend/egl.h"
|
#include "backend/egl.h"
|
||||||
|
|
||||||
struct wlr_backend_state {
|
struct wlr_backend_state {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include <wlr/session.h>
|
#include <wlr/session.h>
|
||||||
#include <wlr/backend.h>
|
#include <wlr/backend.h>
|
||||||
#include <wlr/backend/udev.h>
|
#include <wlr/backend/udev.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_input_device.h>
|
||||||
|
|
||||||
struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display,
|
struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display,
|
||||||
struct wlr_session *session, struct wlr_udev *udev);
|
struct wlr_session *session, struct wlr_udev *udev);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#ifndef _WLR_INTERFACE_OUTPUT_H
|
#ifndef _WLR_INTERFACE_OUTPUT_H
|
||||||
#define _WLR_INTERFACE_OUTPUT_H
|
#define _WLR_INTERFACE_OUTPUT_H
|
||||||
#include <wlr/interfaces/wlr_output.h>
|
#include <wlr/types/wlr_output.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
struct wlr_output_impl {
|
struct wlr_output_impl {
|
||||||
|
@ -18,5 +18,6 @@ struct wlr_output_impl {
|
||||||
struct wlr_output *wlr_output_create(struct wlr_output_impl *impl,
|
struct wlr_output *wlr_output_create(struct wlr_output_impl *impl,
|
||||||
struct wlr_output_state *state);
|
struct wlr_output_state *state);
|
||||||
void wlr_output_free(struct wlr_output *output);
|
void wlr_output_free(struct wlr_output *output);
|
||||||
|
void wlr_output_update_matrix(struct wlr_output *output);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#define _WLR_RENDER_H
|
#define _WLR_RENDER_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <wayland-server-protocol.h>
|
#include <wayland-server-protocol.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_output.h>
|
||||||
|
|
||||||
struct wlr_surface;
|
struct wlr_surface;
|
||||||
struct wlr_renderer;
|
struct wlr_renderer;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include <wayland-server-protocol.h>
|
#include <wayland-server-protocol.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <wlr/render.h>
|
#include <wlr/render.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_output.h>
|
||||||
|
|
||||||
struct wlr_renderer_impl;
|
struct wlr_renderer_impl;
|
||||||
struct wlr_renderer_state;
|
struct wlr_renderer_state;
|
||||||
|
|
|
@ -2,10 +2,15 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_input_device.h>
|
||||||
|
#include <wlr/interfaces/wlr_input_device.h>
|
||||||
|
#include <wlr/interfaces/wlr_keyboard.h>
|
||||||
|
#include <wlr/interfaces/wlr_pointer.h>
|
||||||
|
#include <wlr/interfaces/wlr_touch.h>
|
||||||
|
#include <wlr/interfaces/wlr_tablet_tool.h>
|
||||||
|
#include <wlr/interfaces/wlr_tablet_pad.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_input_device *wlr_input_device_create(
|
struct wlr_input_device *wlr_input_device_create(
|
||||||
enum wlr_input_device_type type,
|
enum wlr_input_device_type type,
|
||||||
|
@ -32,6 +37,18 @@ void wlr_input_device_destroy(struct wlr_input_device *dev) {
|
||||||
case WLR_INPUT_DEVICE_KEYBOARD:
|
case WLR_INPUT_DEVICE_KEYBOARD:
|
||||||
wlr_keyboard_destroy(dev->keyboard);
|
wlr_keyboard_destroy(dev->keyboard);
|
||||||
break;
|
break;
|
||||||
|
case WLR_INPUT_DEVICE_POINTER:
|
||||||
|
wlr_pointer_destroy(dev->pointer);
|
||||||
|
break;
|
||||||
|
case WLR_INPUT_DEVICE_TOUCH:
|
||||||
|
wlr_touch_destroy(dev->touch);
|
||||||
|
break;
|
||||||
|
case WLR_INPUT_DEVICE_TABLET_TOOL:
|
||||||
|
wlr_tablet_tool_destroy(dev->tablet_tool);
|
||||||
|
break;
|
||||||
|
case WLR_INPUT_DEVICE_TABLET_PAD:
|
||||||
|
wlr_tablet_pad_destroy(dev->tablet_pad);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
wlr_log(L_DEBUG, "Warning: leaking memory %p %p %d",
|
wlr_log(L_DEBUG, "Warning: leaking memory %p %p %d",
|
||||||
dev->_device, dev, dev->type);
|
dev->_device, dev, dev->type);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_keyboard.h>
|
||||||
|
#include <wlr/interfaces/wlr_keyboard.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_keyboard *wlr_keyboard_create(struct wlr_keyboard_impl *impl,
|
struct wlr_keyboard *wlr_keyboard_create(struct wlr_keyboard_impl *impl,
|
||||||
struct wlr_keyboard_state *state) {
|
struct wlr_keyboard_state *state) {
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <tgmath.h>
|
#include <tgmath.h>
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_output.h>
|
||||||
|
#include <wlr/interfaces/wlr_output.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
static const float transforms[][4] = {
|
static const float transforms[][4] = {
|
||||||
[WL_OUTPUT_TRANSFORM_NORMAL] = {
|
[WL_OUTPUT_TRANSFORM_NORMAL] = {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_pointer.h>
|
||||||
|
#include <wlr/interfaces/wlr_pointer.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_pointer *wlr_pointer_create(struct wlr_pointer_impl *impl,
|
struct wlr_pointer *wlr_pointer_create(struct wlr_pointer_impl *impl,
|
||||||
struct wlr_pointer_state *state) {
|
struct wlr_pointer_state *state) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_tablet_pad.h>
|
||||||
|
#include <wlr/interfaces/wlr_tablet_pad.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_tablet_pad *wlr_tablet_pad_create(struct wlr_tablet_pad_impl *impl,
|
struct wlr_tablet_pad *wlr_tablet_pad_create(struct wlr_tablet_pad_impl *impl,
|
||||||
struct wlr_tablet_pad_state *state) {
|
struct wlr_tablet_pad_state *state) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_tablet_tool.h>
|
||||||
|
#include <wlr/interfaces/wlr_tablet_tool.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_tablet_tool *wlr_tablet_tool_create(struct wlr_tablet_tool_impl *impl,
|
struct wlr_tablet_tool *wlr_tablet_tool_create(struct wlr_tablet_tool_impl *impl,
|
||||||
struct wlr_tablet_tool_state *state) {
|
struct wlr_tablet_tool_state *state) {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
#include <wlr/types.h>
|
#include <wlr/types/wlr_touch.h>
|
||||||
|
#include <wlr/interfaces/wlr_touch.h>
|
||||||
#include <wlr/common/list.h>
|
#include <wlr/common/list.h>
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
struct wlr_touch *wlr_touch_create(struct wlr_touch_impl *impl,
|
struct wlr_touch *wlr_touch_create(struct wlr_touch_impl *impl,
|
||||||
struct wlr_touch_state *state) {
|
struct wlr_touch_state *state) {
|
||||||
|
|
Loading…
Reference in New Issue