diff options
author | Leon Plickat <leonhenrik.plickat@stud.uni-goettingen.de> | 2020-03-21 15:15:01 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-03-30 17:45:05 +0200 |
commit | dffc184a68c2d6839d4e601be141fe1adcd385aa (patch) | |
tree | cbbce5f78e17dfad28c9d4b3774cc84eb402dfb5 /sway/desktop/transaction.c | |
parent | 65501f0e467efa5e5b5ac01ef098971489b2b8c9 (diff) |
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/desktop/transaction.c')
0 files changed, 0 insertions, 0 deletions