tree-wide: use forward declarations for wlr types

This commit is contained in:
John Lindgren 2025-09-06 20:06:32 -04:00 committed by Hiroaki Yamamoto
parent b00873a988
commit d2ce31fcc9
40 changed files with 63 additions and 12 deletions

View file

@ -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;

View file

@ -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

View file

@ -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;

View file

@ -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;