Add missing includes & remove duplicates

This commit is contained in:
Carl Smedstad 2022-11-06 20:31:41 +01:00 committed by Simon Ser
parent e3257e646c
commit 9540591105
8 changed files with 9 additions and 3 deletions

View file

@ -2,6 +2,7 @@
#define _SWAY_LAUNCHER_H
#include <stdlib.h>
#include <wayland-server-core.h>
struct launcher_ctx {
pid_t pid;

View file

@ -4,7 +4,6 @@
#include <wlr/types/wlr_text_input_v3.h>
#include <wlr/types/wlr_input_method_v2.h>
#include <wlr/types/wlr_compositor.h>
#include "sway/input/seat.h"
/**
* The relay structure manages the relationship between text-input and

View file

@ -1,5 +1,6 @@
#ifndef _SWAY_NODE_H
#define _SWAY_NODE_H
#include <wayland-server-core.h>
#include <stdbool.h>
#include "list.h"

View file

@ -2,7 +2,7 @@
#define _SWAY_VIEW_H
#include <wayland-server-core.h>
#include <wlr/types/wlr_compositor.h>
#include "config.h"
#include "sway/config.h"
#if HAVE_XWAYLAND
#include <wlr/xwayland.h>
#endif

View file

@ -2,6 +2,7 @@
#define _SWAY_WORKSPACE_H
#include <stdbool.h>
#include "sway/config.h"
#include "sway/tree/container.h"
#include "sway/tree/node.h"