nyyManni / dmenu-wayland

dmenu for wayland-compositors
MIT License
201 stars 23 forks source link

Fix anchors to make exclusive zone work. #14

Closed Gaspard-- closed 5 years ago

Gaspard-- commented 5 years ago

Quoting the spec:

A positive value is only meaningful if the surface is anchored to one edge or an edge and both perpendicular edges. If the surface is not anchored, 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.

This PR adds the opposite anchor (RIGHT) to fulfil this condition.

nyyManni commented 5 years ago

Thanks, glad that someone has a sharper eye on the spec than I do 👍