diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 452c2bd1..ff63df2d 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -167,10 +167,10 @@ void view_autoconfigure(struct sway_view *view) { | |||
167 | struct sway_output *output = view->container->workspace->output; | 167 | struct sway_output *output = view->container->workspace->output; |
168 | 168 | ||
169 | if (view->container->is_fullscreen) { | 169 | if (view->container->is_fullscreen) { |
170 | view->x = output->wlr_output->lx; | 170 | view->x = output->lx; |
171 | view->y = output->wlr_output->ly; | 171 | view->y = output->ly; |
172 | view->width = output->wlr_output->width; | 172 | view->width = output->width; |
173 | view->height = output->wlr_output->height; | 173 | view->height = output->height; |
174 | return; | 174 | return; |
175 | } | 175 | } |
176 | 176 | ||