summaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorErik Reider <[email protected]>2023-02-14 16:51:29 +0100
committerGitHub <[email protected]>2023-02-14 10:51:29 -0500
commite78fc3364b0440ff82becbec4ae57458374a145f (patch)
tree0eb825dcc36401438543dbb6fd32ec700b4b90b7 /sway/ipc-json.c
parent3efd3b558fe49bc7a7f3c30c19783e3fe5efeb24 (diff)
upstream update: merge sway 1.8.1 (#111)
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c2
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
struct wlr_box window_box = {
c->pending.content_x - c->pending.x,
- (c->current.border == B_PIXEL) ? c->current.border_thickness : 0,
+ (c->current.border == B_PIXEL) ? c->pending.content_y - c->pending.y : 0,
c->pending.content_width,
c->pending.content_height
};