aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorLibravatar Leon Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-03-21 15:15:01 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2020-03-30 17:45:05 +0200
commitdffc184a68c2d6839d4e601be141fe1adcd385aa (patch)
treecbbce5f78e17dfad28c9d4b3774cc84eb402dfb5 /sway/tree/view.c
parenttray: track SNI callbacks (diff)
downloadsway-dffc184a68c2d6839d4e601be141fe1adcd385aa.tar.gz
sway-dffc184a68c2d6839d4e601be141fe1adcd385aa.tar.zst
sway-dffc184a68c2d6839d4e601be141fe1adcd385aa.zip
change apply_exclusive() to closer match layer shell protocol
With these changes, sway will respect positive exclusive zones of layer surfaces anchored to one or three sides. This matches the protocol, which states that a positive exclusive zone should be respected, "if the surface is anchored to one edge or an edge and both perpendicular edges". If the surfaces is "anchored to only two perpendicular edges (a corner), anchored to only two parallel edges or anchored to all edges a positive value will be treated the same as zero".
Diffstat (limited to 'sway/tree/view.c')
0 files changed, 0 insertions, 0 deletions