diff options
author | emersion <contact@emersion.fr> | 2018-06-04 22:27:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 22:27:26 +0100 |
commit | 344374fa146b0684ff863f3f3d980cc616eb2e39 (patch) | |
tree | 53eed2d315d794818ac47e07b035798af0402686 | |
parent | 78966417f42cee6f33139bcc653ff43efb19d3fe (diff) | |
parent | bcb660cb1d3a8795042ef1ae63f0d8a7daec1cc3 (diff) |
Merge pull request #1039 from acrisci/positioner-invert-x-fix
add missing anchor case in positioner invert-x for xdg-shell
-rw-r--r-- | types/xdg_shell/wlr_xdg_positioner.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/types/xdg_shell/wlr_xdg_positioner.c b/types/xdg_shell/wlr_xdg_positioner.c index 0213c572..6f902f92 100644 --- a/types/xdg_shell/wlr_xdg_positioner.c +++ b/types/xdg_shell/wlr_xdg_positioner.c @@ -256,6 +256,8 @@ static enum xdg_positioner_anchor positioner_anchor_invert_x( return XDG_POSITIONER_ANCHOR_LEFT; case XDG_POSITIONER_ANCHOR_TOP_LEFT: return XDG_POSITIONER_ANCHOR_TOP_RIGHT; + case XDG_POSITIONER_ANCHOR_TOP_RIGHT: + return XDG_POSITIONER_ANCHOR_TOP_LEFT; case XDG_POSITIONER_ANCHOR_BOTTOM_LEFT: return XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT; case XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT: |