mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 01:41:30 +00:00
tree/container: fix indentation
This commit is contained in:
parent
1b8719f167
commit
22226560e3
|
@ -320,10 +320,10 @@ static struct sway_container *view_container_content_at(struct sway_node *parent
|
||||||
|
|
||||||
struct sway_container *container = parent->sway_container;
|
struct sway_container *container = parent->sway_container;
|
||||||
struct wlr_box box = {
|
struct wlr_box box = {
|
||||||
.x = container->pending.content_x,
|
.x = container->pending.content_x,
|
||||||
.y = container->pending.content_y,
|
.y = container->pending.content_y,
|
||||||
.width = container->pending.content_width,
|
.width = container->pending.content_width,
|
||||||
.height = container->pending.content_height,
|
.height = container->pending.content_height,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (wlr_box_contains_point(&box, lx, ly)) {
|
if (wlr_box_contains_point(&box, lx, ly)) {
|
||||||
|
@ -343,10 +343,10 @@ static struct sway_container *view_container_at(struct sway_node *parent,
|
||||||
|
|
||||||
struct sway_container *container = parent->sway_container;
|
struct sway_container *container = parent->sway_container;
|
||||||
struct wlr_box box = {
|
struct wlr_box box = {
|
||||||
.x = container->pending.x,
|
.x = container->pending.x,
|
||||||
.y = container->pending.y,
|
.y = container->pending.y,
|
||||||
.width = container->pending.width,
|
.width = container->pending.width,
|
||||||
.height = container->pending.height,
|
.height = container->pending.height,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (wlr_box_contains_point(&box, lx, ly)) {
|
if (wlr_box_contains_point(&box, lx, ly)) {
|
||||||
|
|
Loading…
Reference in a new issue