diff options
-rw-r--r-- | sway/tree/container.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index b928d069..e2fb4338 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -320,10 +320,10 @@ static struct sway_container *view_container_content_at(struct sway_node *parent | |||
320 | 320 | ||
321 | struct sway_container *container = parent->sway_container; | 321 | struct sway_container *container = parent->sway_container; |
322 | struct wlr_box box = { | 322 | struct wlr_box box = { |
323 | .x = container->pending.content_x, | 323 | .x = container->pending.content_x, |
324 | .y = container->pending.content_y, | 324 | .y = container->pending.content_y, |
325 | .width = container->pending.content_width, | 325 | .width = container->pending.content_width, |
326 | .height = container->pending.content_height, | 326 | .height = container->pending.content_height, |
327 | }; | 327 | }; |
328 | 328 | ||
329 | if (wlr_box_contains_point(&box, lx, ly)) { | 329 | if (wlr_box_contains_point(&box, lx, ly)) { |
@@ -343,10 +343,10 @@ static struct sway_container *view_container_at(struct sway_node *parent, | |||
343 | 343 | ||
344 | struct sway_container *container = parent->sway_container; | 344 | struct sway_container *container = parent->sway_container; |
345 | struct wlr_box box = { | 345 | struct wlr_box box = { |
346 | .x = container->pending.x, | 346 | .x = container->pending.x, |
347 | .y = container->pending.y, | 347 | .y = container->pending.y, |
348 | .width = container->pending.width, | 348 | .width = container->pending.width, |
349 | .height = container->pending.height, | 349 | .height = container->pending.height, |
350 | }; | 350 | }; |
351 | 351 | ||
352 | if (wlr_box_contains_point(&box, lx, ly)) { | 352 | if (wlr_box_contains_point(&box, lx, ly)) { |