aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-03-06 00:33:10 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-03-11 10:56:20 -0400
commit7a44b542b8ec8c1c03f7db81eb96c20105c83ffb (patch)
tree9249e54307ed11ff9461d4e4f22bcf7886bc078b /sway/tree/container.c
parentSet DISPLAY after initializing Xwayland (diff)
downloadsway-7a44b542b8ec8c1c03f7db81eb96c20105c83ffb.tar.gz
sway-7a44b542b8ec8c1c03f7db81eb96c20105c83ffb.tar.zst
sway-7a44b542b8ec8c1c03f7db81eb96c20105c83ffb.zip
ipc: change {,deco_}rect to match i3
This fixes the `deco_rect` and `rect` properties in the IPC responses to match i3's behavior. `deco_rect` should be relative to the parent node, not the current node. This also takes tabbed and stacked decorations into account and will calculate `deco_rect` for all containers since tabbed and stacked child containers will have decorations. `rect` should exclude the window decorations.
Diffstat (limited to 'sway/tree/container.c')
0 files changed, 0 insertions, 0 deletions