diff options
author | M Stoeckl <code@mstoeckl.com> | 2019-01-21 12:39:16 -0500 |
---|---|---|
committer | M Stoeckl <code@mstoeckl.com> | 2019-01-21 12:39:16 -0500 |
commit | d7ff776552bef524e905d85c2a5e7651c8408658 (patch) | |
tree | ae20feac64f93f776e9c9e136c62459705e97987 /sway/config | |
parent | swaybar: fix setting floating watcher slots (diff) | |
download | sway-d7ff776552bef524e905d85c2a5e7651c8408658.tar.gz sway-d7ff776552bef524e905d85c2a5e7651c8408658.tar.zst sway-d7ff776552bef524e905d85c2a5e7651c8408658.zip |
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.c | 4 |
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 @@ | |||
11 | #include <strings.h> | 11 | #include <strings.h> |
12 | #include <signal.h> | 12 | #include <signal.h> |
13 | #include "sway/config.h" | 13 | #include "sway/config.h" |
14 | #include "sway/input/keyboard.h" | ||
14 | #include "sway/output.h" | 15 | #include "sway/output.h" |
15 | #include "config.h" | 16 | #include "config.h" |
16 | #include "stringop.h" | ||
17 | #include "list.h" | 17 | #include "list.h" |
18 | #include "log.h" | 18 | #include "log.h" |
19 | #include "util.h" | 19 | #include "stringop.h" |
20 | 20 | ||
21 | static void terminate_swaybar(pid_t pid) { | 21 | static void terminate_swaybar(pid_t pid) { |
22 | sway_log(SWAY_DEBUG, "Terminating swaybar %d", pid); | 22 | sway_log(SWAY_DEBUG, "Terminating swaybar %d", pid); |