diff options
Diffstat (limited to 'sway/ipc-json.c')
-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 d757f21f..cd79e1c8 100644 --- a/sway/ipc-json.c +++ b/sway/ipc-json.c | |||
@@ -558,7 +558,7 @@ static void ipc_json_describe_view(struct sway_container *c, json_object *object | |||
558 | 558 | ||
559 | struct wlr_box window_box = { | 559 | struct wlr_box window_box = { |
560 | c->pending.content_x - c->pending.x, | 560 | c->pending.content_x - c->pending.x, |
561 | (c->current.border == B_PIXEL) ? c->current.border_thickness : 0, | 561 | (c->current.border == B_PIXEL) ? c->pending.content_y - c->pending.y : 0, |
562 | c->pending.content_width, | 562 | c->pending.content_width, |
563 | c->pending.content_height | 563 | c->pending.content_height |
564 | }; | 564 | }; |