diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index c182bad6..792a7231 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -98,8 +98,8 @@ static bool get_surface_box(struct surface_iterator_data *data, | |||
98 | wlr_box_rotated_bounds(&box, data->rotation, &rotated_box); | 98 | wlr_box_rotated_bounds(&box, data->rotation, &rotated_box); |
99 | 99 | ||
100 | struct wlr_box output_box = { | 100 | struct wlr_box output_box = { |
101 | .width = output->wlr_output->width, | 101 | .width = output->width, |
102 | .height = output->wlr_output->height, | 102 | .height = output->height, |
103 | }; | 103 | }; |
104 | 104 | ||
105 | struct wlr_box intersection; | 105 | struct wlr_box intersection; |
@@ -249,8 +249,8 @@ bool output_has_opaque_overlay_layer_surface(struct sway_output *output) { | |||
249 | struct sway_layer_surface *sway_layer_surface = | 249 | struct sway_layer_surface *sway_layer_surface = |
250 | layer_from_wlr_layer_surface(wlr_layer_surface); | 250 | layer_from_wlr_layer_surface(wlr_layer_surface); |
251 | pixman_box32_t output_box = { | 251 | pixman_box32_t output_box = { |
252 | .x2 = output->wlr_output->width, | 252 | .x2 = output->width, |
253 | .y2 = output->wlr_output->height, | 253 | .y2 = output->height, |
254 | }; | 254 | }; |
255 | pixman_region32_t surface_opaque_box; | 255 | pixman_region32_t surface_opaque_box; |
256 | pixman_region32_init(&surface_opaque_box); | 256 | pixman_region32_init(&surface_opaque_box); |