mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Remove unneeded includes from wlr_input_device.h
This uncovered many places where we were using things without directly including them.
This commit is contained in:
parent
0724b3c453
commit
e06c9e43af
14 changed files with 22 additions and 8 deletions
|
|
@ -9,6 +9,8 @@
|
|||
#ifndef WLR_TYPES_WLR_INPUT_DEVICE_H
|
||||
#define WLR_TYPES_WLR_INPUT_DEVICE_H
|
||||
|
||||
#include <wayland-server-core.h>
|
||||
|
||||
enum wlr_button_state {
|
||||
WLR_BUTTON_RELEASED,
|
||||
WLR_BUTTON_PRESSED,
|
||||
|
|
@ -23,14 +25,6 @@ enum wlr_input_device_type {
|
|||
WLR_INPUT_DEVICE_SWITCH,
|
||||
};
|
||||
|
||||
/* Note: these are circular dependencies */
|
||||
#include <wlr/types/wlr_keyboard.h>
|
||||
#include <wlr/types/wlr_pointer.h>
|
||||
#include <wlr/types/wlr_touch.h>
|
||||
#include <wlr/types/wlr_tablet_tool.h>
|
||||
#include <wlr/types/wlr_tablet_pad.h>
|
||||
#include <wlr/types/wlr_switch.h>
|
||||
|
||||
struct wlr_input_device_impl;
|
||||
|
||||
struct wlr_input_device {
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
|
||||
struct wlr_pointer_impl;
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
#include <wayland-server-core.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
#include <wlr/types/wlr_keyboard.h>
|
||||
#include <wlr/types/wlr_pointer.h>
|
||||
#include <wlr/types/wlr_surface.h>
|
||||
|
||||
#define WLR_SERIAL_RINGSET_SIZE 128
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue