nyyManni / dmenu-wayland

dmenu for wayland-compositors
MIT License
197 stars 22 forks source link

Fix anchors to make exclusive zone work. #14

Closed Gaspard-- closed 4 years ago

Gaspard-- commented 4 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 4 years ago

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