aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-07-07 11:29:14 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2021-07-07 11:29:14 +0200
commit4832fc937fae5a5e2af8828a7092c9026bd300e0 (patch)
treee6e76610b131fd9585a3d8d70e72546a611b7b42
parentcontainer: ignore borders in fullscreen windows (diff)
downloadsway-4832fc937fae5a5e2af8828a7092c9026bd300e0.tar.gz
sway-4832fc937fae5a5e2af8828a7092c9026bd300e0.tar.zst
sway-4832fc937fae5a5e2af8828a7092c9026bd300e0.zip
Update wlr_box includes
Update for the breaking change in [1]. [1]: https://github.com/swaywm/wlroots/pull/3011
-rw-r--r--include/sway/config.h2
-rw-r--r--include/sway/layers.h1
-rw-r--r--include/sway/output.h1
-rw-r--r--include/sway/tree/container.h1
-rw-r--r--sway/commands/input/map_to_region.c1
-rw-r--r--sway/desktop/layer_shell.c1
-rw-r--r--sway/desktop/output.c1
-rw-r--r--sway/desktop/render.c1
-rw-r--r--sway/input/cursor.c1
-rw-r--r--sway/ipc-json.c9
10 files changed, 5 insertions, 14 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 254fbad0..b8327e9c 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -5,8 +5,8 @@
5#include <string.h> 5#include <string.h>
6#include <time.h> 6#include <time.h>
7#include <wlr/interfaces/wlr_switch.h> 7#include <wlr/interfaces/wlr_switch.h>
8#include <wlr/types/wlr_box.h>
9#include <wlr/types/wlr_tablet_tool.h> 8#include <wlr/types/wlr_tablet_tool.h>
9#include <wlr/util/box.h>
10#include <xkbcommon/xkbcommon.h> 10#include <xkbcommon/xkbcommon.h>
11#include "../include/config.h" 11#include "../include/config.h"
12#include "list.h" 12#include "list.h"
diff --git a/include/sway/layers.h b/include/sway/layers.h
index 457634c2..82ac5368 100644
--- a/include/sway/layers.h
+++ b/include/sway/layers.h
@@ -1,7 +1,6 @@
1#ifndef _SWAY_LAYERS_H 1#ifndef _SWAY_LAYERS_H
2#define _SWAY_LAYERS_H 2#define _SWAY_LAYERS_H
3#include <stdbool.h> 3#include <stdbool.h>
4#include <wlr/types/wlr_box.h>
5#include <wlr/types/wlr_surface.h> 4#include <wlr/types/wlr_surface.h>
6#include <wlr/types/wlr_layer_shell_v1.h> 5#include <wlr/types/wlr_layer_shell_v1.h>
7 6
diff --git a/include/sway/output.h b/include/sway/output.h
index 0ebcc77d..5dfe0fff 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -3,7 +3,6 @@
3#include <time.h> 3#include <time.h>
4#include <unistd.h> 4#include <unistd.h>
5#include <wayland-server-core.h> 5#include <wayland-server-core.h>
6#include <wlr/types/wlr_box.h>
7#include <wlr/types/wlr_output.h> 6#include <wlr/types/wlr_output.h>
8#include "config.h" 7#include "config.h"
9#include "sway/tree/node.h" 8#include "sway/tree/node.h"
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index ddb2d683..38ee68bd 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -2,7 +2,6 @@
2#define _SWAY_CONTAINER_H 2#define _SWAY_CONTAINER_H
3#include <stdint.h> 3#include <stdint.h>
4#include <sys/types.h> 4#include <sys/types.h>
5#include <wlr/types/wlr_box.h>
6#include <wlr/types/wlr_surface.h> 5#include <wlr/types/wlr_surface.h>
7#include "list.h" 6#include "list.h"
8#include "sway/tree/node.h" 7#include "sway/tree/node.h"
diff --git a/sway/commands/input/map_to_region.c b/sway/commands/input/map_to_region.c
index e85495e5..284b57d0 100644
--- a/sway/commands/input/map_to_region.c
+++ b/sway/commands/input/map_to_region.c
@@ -1,7 +1,6 @@
1#define _POSIX_C_SOURCE 200809L 1#define _POSIX_C_SOURCE 200809L
2#include <stdlib.h> 2#include <stdlib.h>
3#include <string.h> 3#include <string.h>
4#include <wlr/types/wlr_box.h>
5#include "sway/commands.h" 4#include "sway/commands.h"
6#include "sway/config.h" 5#include "sway/config.h"
7 6
diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c
index 19718991..cadc702a 100644
--- a/sway/desktop/layer_shell.c
+++ b/sway/desktop/layer_shell.c
@@ -2,7 +2,6 @@
2#include <stdlib.h> 2#include <stdlib.h>
3#include <string.h> 3#include <string.h>
4#include <wayland-server-core.h> 4#include <wayland-server-core.h>
5#include <wlr/types/wlr_box.h>
6#include <wlr/types/wlr_layer_shell_v1.h> 5#include <wlr/types/wlr_layer_shell_v1.h>
7#include <wlr/types/wlr_output_damage.h> 6#include <wlr/types/wlr_output_damage.h>
8#include <wlr/types/wlr_output.h> 7#include <wlr/types/wlr_output.h>
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index aa148290..2f2ab4bc 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -5,7 +5,6 @@
5#include <time.h> 5#include <time.h>
6#include <wayland-server-core.h> 6#include <wayland-server-core.h>
7#include <wlr/render/wlr_renderer.h> 7#include <wlr/render/wlr_renderer.h>
8#include <wlr/types/wlr_box.h>
9#include <wlr/types/wlr_buffer.h> 8#include <wlr/types/wlr_buffer.h>
10#include <wlr/types/wlr_matrix.h> 9#include <wlr/types/wlr_matrix.h>
11#include <wlr/types/wlr_output_damage.h> 10#include <wlr/types/wlr_output_damage.h>
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
index bf1b8666..a5bd8a5f 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -7,7 +7,6 @@
7#include <wayland-server-core.h> 7#include <wayland-server-core.h>
8#include <wlr/render/gles2.h> 8#include <wlr/render/gles2.h>
9#include <wlr/render/wlr_renderer.h> 9#include <wlr/render/wlr_renderer.h>
10#include <wlr/types/wlr_box.h>
11#include <wlr/types/wlr_buffer.h> 10#include <wlr/types/wlr_buffer.h>
12#include <wlr/types/wlr_matrix.h> 11#include <wlr/types/wlr_matrix.h>
13#include <wlr/types/wlr_output_damage.h> 12#include <wlr/types/wlr_output_damage.h>
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index c89d5166..95edf7be 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -6,7 +6,6 @@
6#include <errno.h> 6#include <errno.h>
7#include <time.h> 7#include <time.h>
8#include <strings.h> 8#include <strings.h>
9#include <wlr/types/wlr_box.h>
10#include <wlr/types/wlr_cursor.h> 9#include <wlr/types/wlr_cursor.h>
11#include <wlr/types/wlr_idle.h> 10#include <wlr/types/wlr_idle.h>
12#include <wlr/types/wlr_pointer.h> 11#include <wlr/types/wlr_pointer.h>
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index 6c438424..1b64f86e 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -1,8 +1,11 @@
1#include <ctype.h>
1#include <float.h> 2#include <float.h>
2#include <json.h> 3#include <json.h>
3#include <libevdev/libevdev.h> 4#include <libevdev/libevdev.h>
4#include <stdio.h> 5#include <stdio.h>
5#include <ctype.h> 6#include <wlr/backend/libinput.h>
7#include <wlr/types/wlr_output.h>
8#include <xkbcommon/xkbcommon.h>
6#include "config.h" 9#include "config.h"
7#include "log.h" 10#include "log.h"
8#include "sway/config.h" 11#include "sway/config.h"
@@ -14,10 +17,6 @@
14#include "sway/input/input-manager.h" 17#include "sway/input/input-manager.h"
15#include "sway/input/cursor.h" 18#include "sway/input/cursor.h"
16#include "sway/input/seat.h" 19#include "sway/input/seat.h"
17#include <wlr/backend/libinput.h>
18#include <wlr/types/wlr_box.h>
19#include <wlr/types/wlr_output.h>
20#include <xkbcommon/xkbcommon.h>
21#include "wlr-layer-shell-unstable-v1-protocol.h" 20#include "wlr-layer-shell-unstable-v1-protocol.h"
22#include "sway/desktop/idle_inhibit_v1.h" 21#include "sway/desktop/idle_inhibit_v1.h"
23 22