xdg_shell: Fix invert_y of top right anchor

master
Kenny Levinsen 4 years ago committed by Simon Ser
parent 80dbb9ba71
commit 741da702bc

@ -281,6 +281,8 @@ static enum xdg_positioner_anchor positioner_anchor_invert_y(
return XDG_POSITIONER_ANCHOR_BOTTOM_LEFT; return XDG_POSITIONER_ANCHOR_BOTTOM_LEFT;
case XDG_POSITIONER_ANCHOR_BOTTOM_LEFT: case XDG_POSITIONER_ANCHOR_BOTTOM_LEFT:
return XDG_POSITIONER_ANCHOR_TOP_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: case XDG_POSITIONER_ANCHOR_BOTTOM_RIGHT:
return XDG_POSITIONER_ANCHOR_TOP_RIGHT; return XDG_POSITIONER_ANCHOR_TOP_RIGHT;
default: default:

Loading…
Cancel
Save