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

@ -219,8 +219,8 @@ void arrange_workspace(struct sway_workspace *workspace) {
struct sway_container *fs = workspace->fullscreen;
fs->x = output->wlr_output->lx;
fs->y = output->wlr_output->ly;
fs->width = output->wlr_output->width;
fs->height = output->wlr_output->height;
fs->width = output->width;
fs->height = output->height;
arrange_container(fs);
} else {
struct wlr_box box;