mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59:51 -05:00
Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
This reverts commit472e81f35d, reversing changes made to6b7841b11f.
This commit is contained in:
parent
472e81f35d
commit
dc8c9fbeb6
39 changed files with 593 additions and 588 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);
|
||||
container_output_destroy(output);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue