diff options
-rw-r--r-- | sway/ipc-json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c index 8aa9557e..51e6a995 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c | |||
@@ -577,7 +577,7 @@ static void ipc_json_describe_view(struct sway_container *c, json_object *object | |||
577 | 577 | ||
578 | struct wlr_box window_box = { | 578 | struct wlr_box window_box = { |
579 | c->pending.content_x - c->pending.x, | 579 | c->pending.content_x - c->pending.x, |
580 | (c->current.border == B_PIXEL) ? c->current.border_thickness : 0, | 580 | (c->current.border == B_PIXEL) ? c->pending.content_y - c->pending.y : 0, |
581 | c->pending.content_width, | 581 | c->pending.content_width, |
582 | c->pending.content_height | 582 | c->pending.content_height |
583 | }; | 583 | }; |