diff options
| author | Kenny Levinsen <kl@kl.wtf> | 2024-09-06 00:35:57 +0200 |
|---|---|---|
| committer | Alexander Orzechowski <alex@ozal.ski> | 2024-09-07 20:11:30 -0400 |
| commit | 4f9ce4675cf428e8acd632de31482981e1bedcf8 (patch) | |
| tree | 5a80971ee6a2741f51b11d143a53114485cba0f7 | |
| parent | fc6b8d6af2a8b5c68bbf49753b0e560ad2cff208 (diff) | |
tree/arrange: Remove redundant output geometry update
This is handled by apply_output_configs.
| -rw-r--r-- | sway/tree/arrange.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sway/tree/arrange.c b/sway/tree/arrange.c index d4003fe6..352ec0e5 100644 --- a/sway/tree/arrange.c +++ b/sway/tree/arrange.c @@ -314,14 +314,6 @@ void arrange_output(struct sway_output *output) { if (config->reloading) { return; } - struct wlr_box output_box; - wlr_output_layout_get_box(root->output_layout, - output->wlr_output, &output_box); - output->lx = output_box.x; - output->ly = output_box.y; - output->width = output_box.width; - output->height = output_box.height; - for (int i = 0; i < output->workspaces->length; ++i) { struct sway_workspace *workspace = output->workspaces->items[i]; arrange_workspace(workspace); |
