Cloudef / wlc

High-level Wayland compositor library
MIT License
331 stars 58 forks source link

Fix: Calling wlc_xdg_positioner_protocol_set_gravity actually sets anchor #234

Closed kozec closed 7 years ago

kozec commented 7 years ago

Hello,

I've noticed I made mistake in my recent PR. For xdg-positioners with gravity set, value is placed over value for anchor. Those values are defined basically the same, so it doesn't cause crash or anything, but retrieving anchor or gravity values later may return nonsense.