mirror of
https://github.com/labwc/labwc.git
synced 2026-02-05 04:06:33 -05:00
tree-wide: use forward declarations for wlr types
This commit is contained in:
parent
b00873a988
commit
d2ce31fcc9
40 changed files with 63 additions and 12 deletions
|
|
@ -2,13 +2,15 @@
|
|||
#ifndef LABWC_CURSOR_H
|
||||
#define LABWC_CURSOR_H
|
||||
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
#include "common/edge.h"
|
||||
#include "common/node-type.h"
|
||||
|
||||
struct view;
|
||||
struct seat;
|
||||
struct server;
|
||||
struct wlr_input_device;
|
||||
struct wlr_cursor;
|
||||
struct wlr_surface;
|
||||
struct wlr_scene_node;
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
#ifndef LABWC_IME_H
|
||||
#define LABWC_IME_H
|
||||
|
||||
#include <wlr/types/wlr_text_input_v3.h>
|
||||
#include <wlr/types/wlr_input_method_v2.h>
|
||||
#include <wayland-server-core.h>
|
||||
|
||||
struct keyboard;
|
||||
struct wlr_keyboard_key_event;
|
||||
|
||||
/*
|
||||
* The relay structure manages the relationship between text-inputs and
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
#define LABWC_TABLET_PAD_H
|
||||
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/types/wlr_tablet_v2.h>
|
||||
|
||||
struct seat;
|
||||
struct wlr_device;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
#define LABWC_TABLET_H
|
||||
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/types/wlr_tablet_v2.h>
|
||||
#include "config/types.h"
|
||||
|
||||
struct seat;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue