aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Carl Smedstad <carl.smedstad@protonmail.com>2022-11-06 20:31:41 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2023-01-03 21:50:56 +0100
commit95405911051dbb233902c95f824dccdde1e419fd (patch)
treeaec4203df66bdd6b556fb849d1f6d898830fd3b4 /include
parentRemove duplicate declarations (diff)
downloadsway-95405911051dbb233902c95f824dccdde1e419fd.tar.gz
sway-95405911051dbb233902c95f824dccdde1e419fd.tar.zst
sway-95405911051dbb233902c95f824dccdde1e419fd.zip
Add missing includes & remove duplicates
Diffstat (limited to 'include')
-rw-r--r--include/sway/desktop/launcher.h1
-rw-r--r--include/sway/input/text_input.h1
-rw-r--r--include/sway/tree/node.h1
-rw-r--r--include/sway/tree/view.h2
-rw-r--r--include/sway/tree/workspace.h1
-rw-r--r--include/swaybar/tray/item.h1
-rw-r--r--include/swaynag/types.h4
7 files changed, 9 insertions, 2 deletions
diff --git a/include/sway/desktop/launcher.h b/include/sway/desktop/launcher.h
index 3b577f74..d5651adf 100644
--- a/include/sway/desktop/launcher.h
+++ b/include/sway/desktop/launcher.h
@@ -2,6 +2,7 @@
2#define _SWAY_LAUNCHER_H 2#define _SWAY_LAUNCHER_H
3 3
4#include <stdlib.h> 4#include <stdlib.h>
5#include <wayland-server-core.h>
5 6
6struct launcher_ctx { 7struct launcher_ctx {
7 pid_t pid; 8 pid_t pid;
diff --git a/include/sway/input/text_input.h b/include/sway/input/text_input.h
index c70fd935..4de96d44 100644
--- a/include/sway/input/text_input.h
+++ b/include/sway/input/text_input.h
@@ -4,7 +4,6 @@
4#include <wlr/types/wlr_text_input_v3.h> 4#include <wlr/types/wlr_text_input_v3.h>
5#include <wlr/types/wlr_input_method_v2.h> 5#include <wlr/types/wlr_input_method_v2.h>
6#include <wlr/types/wlr_compositor.h> 6#include <wlr/types/wlr_compositor.h>
7#include "sway/input/seat.h"
8 7
9/** 8/**
10 * The relay structure manages the relationship between text-input and 9 * The relay structure manages the relationship between text-input and
diff --git a/include/sway/tree/node.h b/include/sway/tree/node.h
index 470ee3b5..03a389a4 100644
--- a/include/sway/tree/node.h
+++ b/include/sway/tree/node.h
@@ -1,5 +1,6 @@
1#ifndef _SWAY_NODE_H 1#ifndef _SWAY_NODE_H
2#define _SWAY_NODE_H 2#define _SWAY_NODE_H
3#include <wayland-server-core.h>
3#include <stdbool.h> 4#include <stdbool.h>
4#include "list.h" 5#include "list.h"
5 6
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 1b033ee5..273ff364 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -2,7 +2,7 @@
2#define _SWAY_VIEW_H 2#define _SWAY_VIEW_H
3#include <wayland-server-core.h> 3#include <wayland-server-core.h>
4#include <wlr/types/wlr_compositor.h> 4#include <wlr/types/wlr_compositor.h>
5#include "config.h" 5#include "sway/config.h"
6#if HAVE_XWAYLAND 6#if HAVE_XWAYLAND
7#include <wlr/xwayland.h> 7#include <wlr/xwayland.h>
8#endif 8#endif
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h
index b3d93a81..b0fef4ca 100644
--- a/include/sway/tree/workspace.h
+++ b/include/sway/tree/workspace.h
@@ -2,6 +2,7 @@
2#define _SWAY_WORKSPACE_H 2#define _SWAY_WORKSPACE_H
3 3
4#include <stdbool.h> 4#include <stdbool.h>
5#include "sway/config.h"
5#include "sway/tree/container.h" 6#include "sway/tree/container.h"
6#include "sway/tree/node.h" 7#include "sway/tree/node.h"
7 8
diff --git a/include/swaybar/tray/item.h b/include/swaybar/tray/item.h
index c02a5582..73937a0c 100644
--- a/include/swaybar/tray/item.h
+++ b/include/swaybar/tray/item.h
@@ -4,6 +4,7 @@
4#include <cairo.h> 4#include <cairo.h>
5#include <stdbool.h> 5#include <stdbool.h>
6#include <stdint.h> 6#include <stdint.h>
7#include <wayland-util.h>
7#include "swaybar/tray/tray.h" 8#include "swaybar/tray/tray.h"
8#include "list.h" 9#include "list.h"
9 10
diff --git a/include/swaynag/types.h b/include/swaynag/types.h
index 31c6ac08..9c3c50db 100644
--- a/include/swaynag/types.h
+++ b/include/swaynag/types.h
@@ -1,6 +1,10 @@
1#ifndef _SWAYNAG_TYPES_H 1#ifndef _SWAYNAG_TYPES_H
2#define _SWAYNAG_TYPES_H 2#define _SWAYNAG_TYPES_H
3 3
4#include <stdint.h>
5#include <pango/pangocairo.h>
6#include "list.h"
7
4struct swaynag_type { 8struct swaynag_type {
5 char *name; 9 char *name;
6 10