diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-30 21:20:31 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-05 18:01:43 +1000 |
commit | acc2628c799170dea98380cda2237137137f182f (patch) | |
tree | b28b186339b90b75a767b96c780f9a643ff70204 /sway/tree/arrange.c | |
parent | Implement type safe arguments and demote sway_container (diff) | |
download | sway-acc2628c799170dea98380cda2237137137f182f.tar.gz sway-acc2628c799170dea98380cda2237137137f182f.tar.zst sway-acc2628c799170dea98380cda2237137137f182f.zip |
Don't use wlr_output properties
These properties are before rotation.
Diffstat (limited to 'sway/tree/arrange.c')
-rw-r--r-- | sway/tree/arrange.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/arrange.c b/sway/tree/arrange.c index f86d4a74..2cccf65a 100644 --- a/sway/tree/arrange.c +++ b/sway/tree/arrange.c | |||
@@ -219,8 +219,8 @@ void arrange_workspace(struct sway_workspace *workspace) { | |||
219 | struct sway_container *fs = workspace->fullscreen; | 219 | struct sway_container *fs = workspace->fullscreen; |
220 | fs->x = output->wlr_output->lx; | 220 | fs->x = output->wlr_output->lx; |
221 | fs->y = output->wlr_output->ly; | 221 | fs->y = output->wlr_output->ly; |
222 | fs->width = output->wlr_output->width; | 222 | fs->width = output->width; |
223 | fs->height = output->wlr_output->height; | 223 | fs->height = output->height; |
224 | arrange_container(fs); | 224 | arrange_container(fs); |
225 | } else { | 225 | } else { |
226 | struct wlr_box box; | 226 | struct wlr_box box; |