Don't use wlr_output properties

These properties are before rotation.
This commit is contained in:
Ryan Dwyer 2018-08-30 21:20:31 +10:00
parent 7586f150c0
commit acc2628c79
10 changed files with 47 additions and 39 deletions

View file

@ -167,10 +167,10 @@ void view_autoconfigure(struct sway_view *view) {
struct sway_output *output = view->container->workspace->output;
if (view->container->is_fullscreen) {
view->x = output->wlr_output->lx;
view->y = output->wlr_output->ly;
view->width = output->wlr_output->width;
view->height = output->wlr_output->height;
view->x = output->lx;
view->y = output->ly;
view->width = output->width;
view->height = output->height;
return;
}