aboutsummaryrefslogtreecommitdiff
path: root/sway/config
diff options
context:
space:
mode:
authorM Stoeckl <code@mstoeckl.com>2019-01-21 12:39:16 -0500
committerM Stoeckl <code@mstoeckl.com>2019-01-21 12:39:16 -0500
commitd7ff776552bef524e905d85c2a5e7651c8408658 (patch)
treeae20feac64f93f776e9c9e136c62459705e97987 /sway/config
parent410c961388bbfecb5f1b63e4a1977a78709a6e57 (diff)
Move sway-specific functions in common/util.c into sway/
Modifier handling functions were moved into sway/input/keyboard.c; opposite_direction for enum wlr_direction into sway/tree/output.c; and get_parent_pid into sway/tree/root.c .
Diffstat (limited to 'sway/config')
-rw-r--r--sway/config/bar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c
index 0fdac5d8..2e28fa1e 100644
--- a/sway/config/bar.c
+++ b/sway/config/bar.c
@@ -11,12 +11,12 @@
#include <strings.h>
#include <signal.h>
#include "sway/config.h"
+#include "sway/input/keyboard.h"
#include "sway/output.h"
#include "config.h"
-#include "stringop.h"
#include "list.h"
#include "log.h"
-#include "util.h"
+#include "stringop.h"
static void terminate_swaybar(pid_t pid) {
sway_log(SWAY_DEBUG, "Terminating swaybar %d", pid);