mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 15:31:28 +00:00
Add missing includes & remove duplicates
This commit is contained in:
parent
e3257e646c
commit
9540591105
|
@ -2,6 +2,7 @@
|
|||
#define _SWAY_LAUNCHER_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <wayland-server-core.h>
|
||||
|
||||
struct launcher_ctx {
|
||||
pid_t pid;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef _SWAY_NODE_H
|
||||
#define _SWAY_NODE_H
|
||||
#include <wayland-server-core.h>
|
||||
#include <stdbool.h>
|
||||
#include "list.h"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include <cairo.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <wayland-util.h>
|
||||
#include "swaybar/tray/tray.h"
|
||||
#include "list.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef _SWAYNAG_TYPES_H
|
||||
#define _SWAYNAG_TYPES_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <pango/pangocairo.h>
|
||||
#include "list.h"
|
||||
|
||||
struct swaynag_type {
|
||||
char *name;
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "sway/config.h"
|
||||
#include "sway/server.h"
|
||||
#include "sway/desktop/launcher.h"
|
||||
#include "sway/server.h"
|
||||
#include "sway/tree/container.h"
|
||||
#include "sway/tree/root.h"
|
||||
#include "sway/tree/workspace.h"
|
||||
|
|
Loading…
Reference in a new issue