mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
Initial (awful) pass on xdg shell support
This commit is contained in:
parent
1efd5f819f
commit
0c8491f7d0
8 changed files with 223 additions and 37 deletions
|
|
@ -932,6 +932,7 @@ void merge_output_config(struct output_config *dst, struct output_config *src) {
|
|||
|
||||
static void invoke_swaybar(struct bar_config *bar) {
|
||||
return; // TODO WLR
|
||||
sway_log(L_DEBUG, "Invoking swaybar for bar id '%s'", bar->id);
|
||||
// Pipe to communicate errors
|
||||
int filedes[2];
|
||||
if (pipe(filedes) == -1) {
|
||||
|
|
@ -1059,7 +1060,6 @@ void load_swaybars() {
|
|||
if (bar->pid != 0) {
|
||||
terminate_swaybar(bar->pid);
|
||||
}
|
||||
sway_log(L_DEBUG, "Invoking swaybar for bar id '%s'", bar->id);
|
||||
invoke_swaybar(bar);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue