mirror of
https://github.com/swaywm/sway.git
synced 2026-04-01 07:16:02 -04:00
rename container functions
This commit is contained in:
parent
83d09cf594
commit
b90099b4b7
23 changed files with 290 additions and 282 deletions
|
|
@ -120,14 +120,14 @@ void terminate_swaybg(pid_t pid) {
|
|||
}
|
||||
}
|
||||
|
||||
void apply_output_config(struct output_config *oc, swayc_t *output) {
|
||||
void apply_output_config(struct output_config *oc, struct sway_container *output) {
|
||||
assert(output->type == C_OUTPUT);
|
||||
|
||||
struct wlr_output *wlr_output = output->sway_output->wlr_output;
|
||||
if (oc && oc->enabled == 0) {
|
||||
wlr_output_layout_remove(root_container.sway_root->output_layout,
|
||||
wlr_output);
|
||||
destroy_output(output);
|
||||
sway_container_output_destroy(output);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue