Commit 7f9d0411 authored by Guido Gunther's avatar Guido Gunther
Browse files

phosh-private: don't mess with the output_box

This fixes surface positioning after rotation, closes #1
parent 6a9c18be
......@@ -44,22 +44,6 @@ static void phosh_rotate_display(struct wl_client *client,
}
wlr_output_set_transform(shell->panel->output, transform);
const struct wlr_box *output_box =
wlr_output_layout_get_box(shell->desktop->layout,
shell->panel->output);
/* Notify surfaces about their new size */
struct roots_view *view;
wl_list_for_each(view, &shell->desktop->views, link) {
if (view->maximized == true) {
view_move_resize(view,
output_box->x,
output_box->y,
output_box->width,
output_box->height);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment