xdg_shell: Fix invert_y of top right anchor

This commit is contained in:
Kenny Levinsen 2021-03-26 22:57:12 +01:00 committed by Simon Ser
parent 80dbb9ba71
commit 741da702bc
1 changed files with 2 additions and 0 deletions

View File

@ -281,6 +281,8 @@ static enum xdg_positioner_anchor positioner_anchor_invert_y(
return XDG_POSITIONER_ANCHOR_BOTTOM_LEFT;
case XDG_POSITIONER_ANCHOR_BOTTOM_LEFT:
return XDG_POSITIONER_ANCHOR_TOP_LEFT;
case XDG_POSITIONER_ANCHOR_TOP_RIGHT:
return XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT;
case XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT:
return XDG_POSITIONER_ANCHOR_TOP_RIGHT;
default: