|
|
@ -314,14 +314,6 @@ void arrange_output(struct sway_output *output) {
|
|
|
|
if (config->reloading) {
|
|
|
|
if (config->reloading) {
|
|
|
|
return;
|
|
|
|
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) {
|
|
|
|
for (int i = 0; i < output->workspaces->length; ++i) {
|
|
|
|
struct sway_workspace *workspace = output->workspaces->items[i];
|
|
|
|
struct sway_workspace *workspace = output->workspaces->items[i];
|
|
|
|
arrange_workspace(workspace);
|
|
|
|
arrange_workspace(workspace);
|
|
|
|