xdg_shell: Fix invert_y of top right anchor
This commit is contained in:
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…
Reference in New Issue