aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h4
-rw-r--r--include/container.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h
index 655d0a9c..0b19580c 100644
--- a/include/config.h
+++ b/include/config.h
@@ -125,6 +125,7 @@ struct bar_config {
bool strip_workspace_numbers;
bool binding_mode_indicator;
bool verbose;
+ pid_t pid;
struct {
char background[10];
char statusline[10];
@@ -226,8 +227,7 @@ int sway_mouse_binding_cmp_qsort(const void *a, const void *b);
int sway_mouse_binding_cmp_buttons(const void *a, const void *b);
void free_sway_mouse_binding(struct sway_mouse_binding *smb);
-void load_swaybars(swayc_t *output, int output_idx);
-void terminate_swaybars(list_t *pids);
+void load_swaybars(swayc_t *output);
void terminate_swaybg(pid_t pid);
/**
diff --git a/include/container.h b/include/container.h
index d5126e74..a96beab9 100644
--- a/include/container.h
+++ b/include/container.h
@@ -82,9 +82,7 @@ struct sway_container {
char *class;
char *app_id;
- // Used by output containers to keep track of swaybar/swaybg child
- // processes.
- list_t *bar_pids;
+ // Used by output containers to keep track of swaybg child processes.
pid_t bg_pid;
int gaps;