aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ipc-server.h1
-rw-r--r--include/layout.h4
-rw-r--r--include/log.h4
-rw-r--r--swaybg/main.c1
-rw-r--r--swaygrab/main.c1
5 files changed, 7 insertions, 4 deletions
diff --git a/include/ipc-server.h b/include/ipc-server.h
index 35b3748b..5ac255cf 100644
--- a/include/ipc-server.h
+++ b/include/ipc-server.h
@@ -9,5 +9,6 @@ void ipc_terminate(void);
9struct sockaddr_un *ipc_user_sockaddr(void); 9struct sockaddr_un *ipc_user_sockaddr(void);
10 10
11void ipc_event_workspace(swayc_t *old, swayc_t *new); 11void ipc_event_workspace(swayc_t *old, swayc_t *new);
12const char *swayc_type_string(enum swayc_types type);
12 13
13#endif 14#endif
diff --git a/include/layout.h b/include/layout.h
index a3cf006a..62e4c202 100644
--- a/include/layout.h
+++ b/include/layout.h
@@ -2,6 +2,7 @@
2#define _SWAY_LAYOUT_H 2#define _SWAY_LAYOUT_H
3 3
4#include <wlc/wlc.h> 4#include <wlc/wlc.h>
5#include "log.h"
5#include "list.h" 6#include "list.h"
6#include "container.h" 7#include "container.h"
7#include "focus.h" 8#include "focus.h"
@@ -59,4 +60,7 @@ swayc_t *get_swayc_in_direction_under(swayc_t *container, enum movement_directio
59 60
60void recursive_resize(swayc_t *container, double amount, enum wlc_resize_edge edge); 61void recursive_resize(swayc_t *container, double amount, enum wlc_resize_edge edge);
61 62
63void layout_log(const swayc_t *c, int depth);
64void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ...) __attribute__((format(printf,3,4)));
65
62#endif 66#endif
diff --git a/include/log.h b/include/log.h
index eada025e..268783f4 100644
--- a/include/log.h
+++ b/include/log.h
@@ -1,7 +1,6 @@
1#ifndef _SWAY_LOG_H 1#ifndef _SWAY_LOG_H
2#define _SWAY_LOG_H 2#define _SWAY_LOG_H
3#include <stdbool.h> 3#include <stdbool.h>
4#include "container.h"
5 4
6typedef enum { 5typedef enum {
7 L_SILENT = 0, 6 L_SILENT = 0,
@@ -35,7 +34,4 @@ void _sway_log(log_importance_t verbosity, const char* format, ...) __attribute_
35 34
36void error_handler(int sig); 35void error_handler(int sig);
37 36
38void layout_log(const swayc_t *c, int depth);
39const char *swayc_type_string(enum swayc_types type);
40void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ...) __attribute__((format(printf,3,4)));
41#endif 37#endif
diff --git a/swaybg/main.c b/swaybg/main.c
index 73a8de0a..ec64ddb7 100644
--- a/swaybg/main.c
+++ b/swaybg/main.c
@@ -3,6 +3,7 @@
3#include <stdlib.h> 3#include <stdlib.h>
4#include <wayland-client.h> 4#include <wayland-client.h>
5#include <time.h> 5#include <time.h>
6#include <string.h>
6#include "client/window.h" 7#include "client/window.h"
7#include "client/registry.h" 8#include "client/registry.h"
8#include "log.h" 9#include "log.h"
diff --git a/swaygrab/main.c b/swaygrab/main.c
index 99d5f88b..092fc1b3 100644
--- a/swaygrab/main.c
+++ b/swaygrab/main.c
@@ -3,6 +3,7 @@
3#include <string.h> 3#include <string.h>
4#include <getopt.h> 4#include <getopt.h>
5#include <unistd.h> 5#include <unistd.h>
6#include <stdint.h>
6#include <math.h> 7#include <math.h>
7#include <time.h> 8#include <time.h>
8#include "log.h" 9#include "log.h"